Skip to content

Commit

Permalink
Revert "cuda sm_11"
Browse files Browse the repository at this point in the history
  • Loading branch information
tontechio committed Nov 19, 2021
1 parent 0131653 commit 10660f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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} $<$<COMPILE_LANGUAGE:CUDA>:-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()

Expand Down
3 changes: 1 addition & 2 deletions tonlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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} $<$<COMPILE_LANGUAGE:CUDA>:-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()

Expand Down

0 comments on commit 10660f4

Please sign in to comment.