Change return type of `VolumeBSpline.sample_gradient`, and related functions, to remove CUDA coupling
- Change the signature of
Volume::sample_gradient,VolumeBSpline::sample_gradient,BiasFieldBSpline::sample_gradient, andWarpFieldBSpline::sample_gradient, so that they usestd::vectorrather thanthrust::host_vector, which will allow for a common CPU/GPU interface for these classes. - Change the signature of
CostFxnSplineUtils::calculate_sub_gradto accept afloat *rather than athrust::device_vector - Rename various
.cuh/.cufiles to.h/.cppso that they are compiled withg++rather thannvcc
Edited by Paul McCarthy