Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
f47b447d
Commit
f47b447d
authored
3 years ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
starpu: make sure starpu is compiled with cuda support when CUDA is enabled
parent
e9e1093b
No related branches found
No related tags found
1 merge request
!291
StarPU: make sure starpu is compiled with cuda support when CUDA is enabled
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runtime/starpu/CMakeLists.txt
+8
-0
8 additions, 0 deletions
runtime/starpu/CMakeLists.txt
with
8 additions
and
0 deletions
runtime/starpu/CMakeLists.txt
+
8
−
0
View file @
f47b447d
...
...
@@ -125,6 +125,14 @@ if ( STARPU_FOUND )
message
(
"--
${
Blue
}
Add definition HAVE_STARPU_MPI_COMM_GET_ATTR
${
ColourReset
}
"
)
endif
()
endif
()
if
(
CHAMELEON_USE_CUDA AND NOT CHAMELEON_SIMULATION
)
check_function_exists
(
starpu_cublas_get_local_handle HAVE_STARPU_CUBLAS_GET_LOCAL_HANDLE
)
if
(
NOT HAVE_STARPU_CUBLAS_GET_LOCAL_HANDLE
)
message
(
FATAL_ERROR
"The detected StarPU library does not include cublas support. Please disable CHAMELEON_USE_CUDA or provide a StarPU library with cublas support."
)
endif
()
endif
()
morse_cmake_required_unset
()
endif
(
STARPU_FOUND
)
...
...
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