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::vector
rather thanthrust::host_vector
, which will allow for a common CPU/GPU interface for these classes. - Change the signature of
CostFxnSplineUtils::calculate_sub_grad
to accept afloat *
rather than athrust::device_vector
- Rename various
.cuh
/.cu
files to.h
/.cpp
so that they are compiled withg++
rather thannvcc
Edited by Paul McCarthy