-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
e201ce9
commit 9f73c2e
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |