Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
waLBerla
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
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Christoph Alt
waLBerla
Commits
431bd434
Commit
431bd434
authored
1 month ago
by
Christoph Alt
Browse files
Options
Downloads
Patches
Plain Diff
also loading hip runtime libs and link them
parent
1522c8fd
No related branches found
No related tags found
No related merge requests found
Pipeline
#78065
failed
1 month ago
Stage: pretest
Stage: test
Stage: benchmark
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+2
-0
2 additions, 0 deletions
CMakeLists.txt
src/gpu/CMakeLists.txt
+7
-0
7 additions, 0 deletions
src/gpu/CMakeLists.txt
with
9 additions
and
0 deletions
CMakeLists.txt
+
2
−
0
View file @
431bd434
...
...
@@ -686,9 +686,11 @@ if ( WALBERLA_BUILD_WITH_HIP )
if
(
CMAKE_HIP_COMPILER
)
enable_language
(
HIP
)
find_package
(
hip REQUIRED
)
# since waLBerla also supports CUDA we only use HIP on an AMD platform
add_compile_definitions
(
__HIP_PLATFORM_AMD__
)
# include_directories(${HSA_HEADER})
list
(
APPEND SERVICE_LIBS hip::host
)
else
()
message
(
FATAL_ERROR
"HIP could not be found. Either make HIP available or disable WALBERLA_BUILD_WITH_HIP!"
)
endif
(
)
...
...
This diff is collapsed.
Click to expand it.
src/gpu/CMakeLists.txt
+
7
−
0
View file @
431bd434
...
...
@@ -51,6 +51,13 @@ if (WALBERLA_BUILD_WITH_CUDA)
)
endif
(
WALBERLA_BUILD_WITH_CUDA
)
if
(
WALBERLA_BUILD_WITH_HIP
)
target_link_libraries
(
walberla_gpu
Public
hip::host
)
endif
(
WALBERLA_BUILD_WITH_HIP
)
add_subdirectory
(
sweeps
)
add_subdirectory
(
communication
)
add_subdirectory
(
lbm
)
...
...
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