Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
cd9d06fb
"examples/vscode:/vscode.git/clone" did not exist on "70788bdbdc590e7fbf9bddb3fa9bc92ac3181733"
Unverified
Commit
cd9d06fb
authored
Jan 15, 2025
by
tvirolai-amd
Committed by
GitHub
Jan 15, 2025
Browse files
Allow hip sources to be directly included when compiling for rocm. (#12087)
parent
ebd8c669
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cmake/utils.cmake
cmake/utils.cmake
+2
-2
No files found.
cmake/utils.cmake
View file @
cd9d06fb
...
...
@@ -58,8 +58,8 @@ function (hipify_sources_target OUT_SRCS NAME ORIG_SRCS)
#
set
(
SRCS
${
ORIG_SRCS
}
)
set
(
CXX_SRCS
${
ORIG_SRCS
}
)
list
(
FILTER SRCS EXCLUDE REGEX
"\.(cc)|(cpp)$"
)
list
(
FILTER CXX_SRCS INCLUDE REGEX
"\.(cc)|(cpp)$"
)
list
(
FILTER SRCS EXCLUDE REGEX
"\.(cc)|(cpp)
|(hip)
$"
)
list
(
FILTER CXX_SRCS INCLUDE REGEX
"\.(cc)|(cpp)
|(hip)
$"
)
#
# Generate ROCm/HIP source file names from CUDA file names.
...
...
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