Skip to content

Draft: ENH: CPU implementation of `WarpFieldBSpline` class

Paul McCarthy requested to merge enh/warpfieldbspline-cpu into master

Builds on !21, which must be merged first.

This MR adjusts the WarpFieldBSpline class so that it can be compiled to run on either GPU or CPU. All this required was to move the existing routine for calculating the jacobian determinant into a standalone function (moved to src/WarpFieldBSplineUtilsGPU.cu), and to add a new equivalent CPU-based routine (in src/WarpFieldBSplineUtilsCPU.cpp).

Edited by Paul McCarthy

Merge request reports

Loading