Commit 01dec169 authored by Ondrej Mosnáček's avatar Ondrej Mosnáček 🌽

Fix CUDA flags

parent c84c9a11
...@@ -7,12 +7,13 @@ set(INCLUDE_INSTALL_DIR /usr/local/include) ...@@ -7,12 +7,13 @@ set(INCLUDE_INSTALL_DIR /usr/local/include)
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(CUDA REQUIRED) set(CUDA_PROPAGATE_HOST_FLAGS OFF)
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS}; set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};
-std=c++11 -O3 --ptxas-options=-v -arch sm_30 -lineinfo -std=c++11;-O3;--ptxas-options=-v;-arch sm_30;-lineinfo
) )
find_package(CUDA REQUIRED)
add_library(argon2-gpu-common SHARED add_library(argon2-gpu-common SHARED
lib/argon2-gpu-common/argon2params.cpp lib/argon2-gpu-common/argon2params.cpp
lib/argon2-gpu-common/blake2b.cpp lib/argon2-gpu-common/blake2b.cpp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment