mumax / 3

GPU-accelerated micromagnetic simulator
Other
447 stars 150 forks source link

Modified compute capabilities supported by CUDA 11. #310

Closed JianYugen closed 1 year ago

JianYugen commented 1 year ago

When compiling the cuda kernels by the Makefile, there is an error message arise: nvcc fatal : Value 'compute_30' is not defined for option 'gpu-architecture' This is due to nvcc --gpu-architecture in CUDA 11. no longer support "compute_30". The Kepler architectures (30, 32, 35, 37) are deprecated from CUDA 11. and will be dropped in the future versions. Additionally, note that from CUDA 12. the Maxwell architectures (50, 52, 53) will be deprecated.