Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
0a65a680
Commit
0a65a680
authored
Jun 21, 2023
by
Artur Wojcik
Browse files
cmake_gpu_hiprtc
parent
e1de0dd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+2
-0
No files found.
src/targets/gpu/CMakeLists.txt
View file @
0a65a680
...
...
@@ -241,8 +241,10 @@ if(MIGRAPHX_ENABLE_MLIR)
endif
()
if
(
MIGRAPHX_USE_HIPRTC
)
find_package
(
hiprtc REQUIRED
)
message
(
STATUS
"MIGraphX is using hipRTC"
)
target_compile_definitions
(
migraphx_gpu PRIVATE -DMIGRAPHX_USE_HIPRTC=1
)
target_link_libraries
(
migraphx_gpu PUBLIC hiprtc::hiprtc
)
else
()
message
(
STATUS
"MIGraphX is using HIP Clang"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment