Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 4, 2022
1 parent e201ce9 commit 9f73c2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# vector_add
add_subdirectory(vector_add)

add_custom_target(test
add_custom_target(
test
COMMAND vector_add/vector_add
DEPENDS vector_add
)
DEPENDS vector_add)
3 changes: 2 additions & 1 deletion tests/vector_add/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copies the kernel function to the tests folder
file(COPY vector_add_kernel.cu DESTINATION ..)
add_executable(vector_add vector_add.cpp)
target_link_libraries(vector_add PRIVATE cudawrappers CUDA::cuda_driver CUDA::nvrtc)
target_link_libraries(vector_add PRIVATE cudawrappers CUDA::cuda_driver
CUDA::nvrtc)

0 comments on commit 9f73c2e

Please sign in to comment.