Skip to content

Commit

Permalink
Added CUDA architecture.
Browse files Browse the repository at this point in the history
  • Loading branch information
isazi committed May 30, 2024
1 parent 2ef6045 commit d1fe85a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ target_link_libraries(${PROJECT_NAME} PUBLIC CUDA::cudart_static)
target_link_libraries(${PROJECT_NAME} PUBLIC CUDA::cuda_driver)
target_link_libraries(${PROJECT_NAME} PUBLIC CUDA::cublas)
target_link_libraries(${PROJECT_NAME} PUBLIC CUDA::nvrtc)
set_target_properties(${PROJECT_NAME} PROPERTIES CUDA_ARCHITECTURES "80")

# Installation of library files
set(COMPAS_LIB_PATH "${CMAKE_INSTALL_PREFIX}/lib")
Expand Down
1 change: 1 addition & 0 deletions julia-bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ add_library(compas-julia SHARED ${sources})

target_compile_features(compas-julia PRIVATE cxx_std_17)
install(TARGETS compas-julia LIBRARY DESTINATION lib)
set_target_properties(compas-julia PROPERTIES CUDA_ARCHITECTURES "80")

target_link_libraries(compas-julia compas-toolkit)

0 comments on commit d1fe85a

Please sign in to comment.