From 10660f493be489c47968710dc49deb36f0f4df2f Mon Sep 17 00:00:00 2001 From: "Dr.Elias" Date: Fri, 19 Nov 2021 11:38:31 +0300 Subject: [PATCH] Revert "cuda sm_11" --- crypto/CMakeLists.txt | 2 +- tonlib/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 7f9d8ed9..02d3c7b3 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -320,7 +320,7 @@ if(MINERCUDA) target_link_libraries(pow-miner-cuda-lib PUBLIC ton_crypto ton_block ${CUDA_LIBRARIES}) add_executable(pow-miner-cuda util/pow-miner.cpp) - target_compile_definitions(pow-miner-cuda PRIVATE MINERCUDA=${MINERCUDA} $<$:-gencode arch=compute_11,code=sm_11>) + target_compile_definitions(pow-miner-cuda PRIVATE MINERCUDA=${MINERCUDA}) target_link_libraries(pow-miner-cuda PRIVATE ton_crypto ton_block pow-miner-cuda-lib git) endif() diff --git a/tonlib/CMakeLists.txt b/tonlib/CMakeLists.txt index f320ed57..90cd8d9e 100644 --- a/tonlib/CMakeLists.txt +++ b/tonlib/CMakeLists.txt @@ -79,8 +79,7 @@ if(MINERCUDA) include_directories("${CUDA_INCLUDE_DIRS}") add_executable(tonlib-cuda-cli tonlib/tonlib-cli.cpp) - target_compile_definitions(tonlib-cuda-cli PRIVATE MINERCUDA=${MINERCUDA} $<$:-gencode arch=compute_11,code=sm_11>) - + target_compile_definitions(tonlib-cuda-cli PRIVATE MINERCUDA=${MINERCUDA}) target_link_libraries(tonlib-cuda-cli tonlib tdactor tdutils terminal pow-miner-cuda-lib git ${CUDA_LIBRARIES}) endif()