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
b10116e5
Commit
b10116e5
authored
Sep 23, 2022
by
turneram
Browse files
Use find_path
parent
b1d25f8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+1
-1
No files found.
src/targets/gpu/CMakeLists.txt
View file @
b10116e5
...
...
@@ -347,7 +347,7 @@ foreach(_unused RANGE 2)
string
(
REGEX REPLACE
" /[^ ]+
\\
.(a|so) "
" "
HIP_COMPILER_FLAGS
"
${
HIP_COMPILER_FLAGS
}
"
)
# Add ck includes
find_path
(
CK_INCLUDE_PATH ck/ck.hpp
)
set
(
CK_INCLUDE_PATH
"/code/AMDMIGraphX/AMDMIGraphX/depend/cget/include/"
)
#
set (CK_INCLUDE_PATH "/code/AMDMIGraphX/AMDMIGraphX/depend/cget/include/")
message
(
STATUS
"CK path:
${
CK_INCLUDE_PATH
}
"
)
string
(
APPEND HIP_COMPILER_FLAGS
" -isystem
${
CK_INCLUDE_PATH
}
"
)
endforeach
()
...
...
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