Computational-Psychiatry / 3DI

5 stars 2 forks source link

CUDA 12.x support #2

Closed sariyanidi closed 11 months ago

sariyanidi commented 11 months ago

Looks like CUDA texture references were removed starting at CUDA 12.0. We need to replace them with texture objects (see here). Until then, only CUDA 11.x will be supported.

This blogpost seems to be a good guide for the transition: http://cuda-programming.blogspot.com/2013/04/texture-references-object-in-cuda.html

See also https://gist.github.com/hertzsprung/589f6636401d46c9d74a544c23731520 and https://stackoverflow.com/questions/54098747/cuda-how-to-create-2d-texture-object/54100165#54100165

sariyanidi commented 11 months ago

Release v0.2.0 supports CUDA 12.x.