Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_backend_cuda
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
aidge
aidge_backend_cuda
Commits
b7172a73
Commit
b7172a73
authored
7 months ago
by
Grégoire Kubler
Browse files
Options
Downloads
Patches
Plain Diff
fix : cudart & cuda libraries are now linked privately to _aidge_backend_cpu
parent
2cc7de11
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+2
-1
2 additions, 1 deletion
CMakeLists.txt
unit_tests/CMakeLists.txt
+8
-1
8 additions, 1 deletion
unit_tests/CMakeLists.txt
with
10 additions
and
2 deletions
CMakeLists.txt
+
2
−
1
View file @
b7172a73
...
...
@@ -110,9 +110,10 @@ endif()
target_link_libraries
(
${
module_name
}
PUBLIC
_aidge_core
# _ is added because we link the target not the project
CUDA::cudart
CUDA::cublas
PRIVATE
cudnn
CUDA::cudart
)
if
(
${
ENABLE_ASAN
}
)
...
...
This diff is collapsed.
Click to expand it.
unit_tests/CMakeLists.txt
+
8
−
1
View file @
b7172a73
...
...
@@ -16,7 +16,14 @@ add_executable(tests${module_name} ${src_files})
target_link_libraries
(
tests
${
module_name
}
PUBLIC
${
module_name
}
)
target_link_libraries
(
tests
${
module_name
}
PRIVATE Catch2::Catch2WithMain
)
target_link_libraries
(
tests
${
module_name
}
PRIVATE
Catch2::Catch2WithMain
CUDA::cudart
cudnn
CUDA::cublas
)
list
(
APPEND CMAKE_MODULE_PATH
${
catch2_SOURCE_DIR
}
/extras
)
include
(
CTest
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment