Casting CUdeviceptr to floating point array for CUDA kernel

You can cast from CUdeviceptr to an “ordinary” pointer and things should “just work”.

1 Like