Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 744517 | Differences between
and this patch

Collapse All | Expand All

(-)CMakeLists.txt.old (-1 / +5 lines)
Lines 586-593 Link Here
586
        if (NOT DEFINED OSD_CUDA_NVCC_FLAGS)
586
        if (NOT DEFINED OSD_CUDA_NVCC_FLAGS)
587
            if (CUDA_VERSION_MAJOR LESS 6)
587
            if (CUDA_VERSION_MAJOR LESS 6)
588
                set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_11 )
588
                set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_11 )
589
            else()
589
            elseif (CUDA_VERSION_MAJOR LESS 9)
590
                set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_20 )
590
                set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_20 )
591
            elseif (CUDA_VERSION_MAJOR LESS 11)
592
                set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_30 )
593
            else()
594
                set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_86 )
591
            endif()
595
            endif()
592
        endif()
596
        endif()
593
    endif()
597
    endif()

Return to bug 744517