Skip to content
Snippets Groups Projects
Commit ab3d58b9 authored by 数学の武士's avatar 数学の武士
Browse files

Update CMakeLists.txt

parent 7c6be232
Branches
No related tags found
No related merge requests found
...@@ -9,10 +9,8 @@ set(CMAKE_CXX_STANDARD 11) ...@@ -9,10 +9,8 @@ set(CMAKE_CXX_STANDARD 11)
message(STATUS "memory processing: GPU build in mode is ${INCLUDE_CUDA}") message(STATUS "memory processing: GPU build in mode is ${INCLUDE_CUDA}")
if(INCLUDE_CUDA) if(INCLUDE_CUDA)
if(NOT DEFINED CMAKE_CUDA_COMPILER)
enable_language(CUDA) enable_language(CUDA)
include_directories(${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES}) include_directories(${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})
endif()
# -DCMAKE_CUDA_ARCHITECTURES=native -- Compile for the architecture(s) of the host's GPU(s) # -DCMAKE_CUDA_ARCHITECTURES=native -- Compile for the architecture(s) of the host's GPU(s)
endif(INCLUDE_CUDA) endif(INCLUDE_CUDA)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment