1 --- magma-2.6.2lol/CMakeLists.txt 2022-10-06 07:08:50.732278629 +0200
2 +++ magma-2.6.2/CMakeLists.txt 2022-10-06 07:10:36.348650499 +0200
4 message( STATUS " compile for CUDA arch 8.0 (Ampere)" )
7 + if (GPU_TARGET MATCHES sm_86)
11 + set( NV_SM ${NV_SM} -gencode arch=compute_86,code=sm_86 )
12 + set( NV_COMP -gencode arch=compute_86,code=compute_86 )
13 + message( STATUS " compile for CUDA arch 8.6" )
16 + if (GPU_TARGET MATCHES sm_87)
20 + set( NV_SM ${NV_SM} -gencode arch=compute_87,code=sm_87 )
21 + set( NV_COMP -gencode arch=compute_87,code=compute_87 )
22 + message( STATUS " compile for CUDA arch 8.7" )
25 + if (GPU_TARGET MATCHES sm_89)
29 + set( NV_SM ${NV_SM} -gencode arch=compute_89,code=sm_89 )
30 + set( NV_COMP -gencode arch=compute_89,code=compute_89 )
31 + message( STATUS " compile for CUDA arch 8.9" )
34 + if (GPU_TARGET MATCHES sm_90)
38 + set( NV_SM ${NV_SM} -gencode arch=compute_90,code=sm_90 )
39 + set( NV_COMP -gencode arch=compute_90,code=compute_90 )
40 + message( STATUS " compile for CUDA arch 9.0" )
44 message( FATAL_ERROR "GPU_TARGET must contain one or more of Fermi, Kepler, Maxwell, Pascal, Volta, Turing, Ampere, or valid sm_[0-9][0-9]" )