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
a90e1709
Commit
a90e1709
authored
3 weeks ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
starpu/cmake: Bugfix for the multiple definition of __HIP_PLATFORM_AMD__ to null and 1
parent
01075844
No related branches found
Branches containing commit
No related tags found
1 merge request
!518
gitlab-ci-initial-cache.cmake: CMAKE_C_FLAGS must be set as a cache variable...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runtime/starpu/CMakeLists.txt
+11
-0
11 additions, 0 deletions
runtime/starpu/CMakeLists.txt
with
11 additions
and
0 deletions
runtime/starpu/CMakeLists.txt
+
11
−
0
View file @
a90e1709
...
@@ -39,6 +39,17 @@ include(CheckCSourceRuns)
...
@@ -39,6 +39,17 @@ include(CheckCSourceRuns)
set
(
CHAMELEON_STARPU_VERSION
"1.3"
CACHE STRING
"necessary STARPU API version"
)
set
(
CHAMELEON_STARPU_VERSION
"1.3"
CACHE STRING
"necessary STARPU API version"
)
find_package
(
STARPU
${
CHAMELEON_STARPU_VERSION
}
REQUIRED
)
find_package
(
STARPU
${
CHAMELEON_STARPU_VERSION
}
REQUIRED
)
# Bug fix of hip defining to null the variable in the perl script used
# by starpu, and to 1 in the cmake targe file used by chameleon
# -------------------------------------------------------------
get_target_property
(
_DEFS MORSE::STARPU INTERFACE_COMPILE_OPTIONS
)
if
(
_DEFS
)
list
(
TRANSFORM _DEFS REPLACE
"-D__HIP_PLATFORM_AMD__="
"-D__HIP_PLATFORM_AMD__=1"
)
set_target_properties
(
MORSE::STARPU PROPERTIES INTERFACE_COMPILE_OPTIONS
"
${
_DEFS
}
"
)
endif
()
# -------------------------------------------------------------
morse_export_imported_target
(
MORSE STARPU starpu chameleon
)
morse_export_imported_target
(
MORSE STARPU starpu chameleon
)
# check available functions
# check available functions
...
...
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