Skip to content

Commit

Permalink
[SofaCUDA] Fix spatial grid compilation with double (#4478)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger authored Feb 6, 2024
1 parent d22c81a commit 847bb41
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ void SpatialGrid< SpatialGridTypes < gpu::cuda::CudaVec3dTypes > >::kernel_compu
int /*cellBits*/, Real /*cellWidth*/, int /*nbPoints*/, void* /*particleIndex*/, void* /*particleHash*/,
const void* /*x*/)
{
msg_error() << "TODO: SpatialGrid< SpatialGridTypes < gpu::cuda::CudaVec3dTypes > >::kernel_computeHash()";
msg_error("SpatialGrid") << "TODO: SpatialGrid< SpatialGridTypes < gpu::cuda::CudaVec3dTypes > >::kernel_computeHash()";
}

template<>
void SpatialGrid< SpatialGridTypes < gpu::cuda::CudaVec3dTypes > >::kernel_updateGrid(
int /*cellBits*/, int /*index0*/, Real /*cellWidth*/, int /*nbPoints*/, const void* /*particleHash*/,
void* /*cells*/, void* /*cellGhost*/)
{
msg_error() << "TODO: SpatialGrid< SpatialGridTypes < gpu::cuda::CudaVec3dTypes > >::kernel_updateGrid()";
msg_error("SpatialGrid") << "TODO: SpatialGrid< SpatialGridTypes < gpu::cuda::CudaVec3dTypes > >::kernel_updateGrid()";
}

#endif // SOFA_GPU_CUDA_DOUBLE
Expand Down

0 comments on commit 847bb41

Please sign in to comment.