Lines 578-585
Link Here
|
578 |
set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_11 ) |
578 |
set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_11 ) |
579 |
elseif (CUDA_VERSION_MAJOR LESS 9) |
579 |
elseif (CUDA_VERSION_MAJOR LESS 9) |
580 |
set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_20 ) |
580 |
set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_20 ) |
581 |
else() |
581 |
elseif (CUDA_VERSION_MAJOR LESS 11) |
582 |
set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_30 ) |
582 |
set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_30 ) |
|
|
583 |
else() |
584 |
set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_52 ) |
583 |
endif() |
585 |
endif() |
584 |
endif() |
586 |
endif() |
585 |
endif() |
587 |
endif() |