aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/ethereum/ethash/libethash-cuda/CMakeLists.txt
blob: b30ed3e2dc0c80c9323a1226a127068002419f37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
find_package(CUDA)
 
# Pass options to NVCC

 
if (CUDA_FOUND)
set(CUDA_NVCC_FLAGS "   -gencode;arch=compute_30,code=sm_30;
                        -gencode;arch=compute_20,code=sm_20;
                        -gencode;arch=compute_11,code=sm_11;
                        -gencode;arch=compute_12,code=sm_12;
                        -gencode;arch=compute_13,code=sm_13;")
cuda_add_executable(
    ethash-cuda
    libethash.cu)
endif()