m-schuetz / CudaLOD

Other
137 stars 12 forks source link

What's the version of the CUDA is needed? #3

Open kimiliu666 opened 1 year ago

kimiliu666 commented 1 year ago

Hello, m-schuetz. I have built the project with VS2019 & CUDA11.5 and failed. Then I tried CUDA 12.0 and also failed. So what's the right version of VS and CUDA to build it? Thank u very much!

m-schuetz commented 1 year ago

Hi, I'm using CUDA 11.8, but I think it may also work with 11.6.

Haven't tried CUDA 12 yet because some things I've been using are deprecated, I'll have to catch up at some point.

You can try to hardcode the path to a different version here: https://github.com/m-schuetz/CudaLOD/blob/cfaa4dc90c088b6e8aa8723c22e91b64eacac347/include/CudaModularProgram.h#L48-L49