31 }
else if (
points.IsCUDA()) {
32 CUDA_CALL(TransformPointsCUDA, transformation_contiguous,
38 points = points_contiguous;
54 CUDA_CALL(TransformNormalsCUDA, transformation_contiguous,
78 }
else if (
points.IsCUDA()) {
79 CUDA_CALL(RotatePointsCUDA, R_contiguous, points_contiguous,
85 points = points_contiguous;
99 CUDA_CALL(RotateNormalsCUDA, R_contiguous, normals_contiguous);
#define CUDA_CALL(cuda_function,...)
#define AssertTensorShape(tensor,...)
Tensor Contiguous() const
Tensor To(Dtype dtype, bool copy=false) const
constexpr nullopt_t nullopt
Generic file read and write utility for python interface.