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
composable_kernel_ROCM
Commits
88e6fa7f
Unverified
Commit
88e6fa7f
authored
Oct 18, 2024
by
Illia Silin
Committed by
GitHub
Oct 18, 2024
Browse files
add the lsr-drop-solution=1 compiler flag (#1582)
parent
14c3cfb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
CMakeLists.txt
CMakeLists.txt
+7
-0
No files found.
CMakeLists.txt
View file @
88e6fa7f
...
...
@@ -202,6 +202,13 @@ if(NOT WIN32 AND ${hip_VERSION_FLAT} GREATER 500723302)
add_compile_options
(
-fno-offload-uniform-block
)
endif
()
endif
()
if
(
NOT WIN32 AND
${
hip_VERSION_FLAT
}
GREATER 500500000
)
check_cxx_compiler_flag
(
"-mllvm --lsr-drop-solution=1"
HAS_LSR_DROP_SOLUTION
)
if
(
HAS_LSR_DROP_SOLUTION
)
message
(
"Adding the lsr-drop-solution=1 compiler flag"
)
add_compile_options
(
"SHELL: -mllvm --lsr-drop-solution=1"
)
endif
()
endif
()
if
(
NOT WIN32 AND
${
hip_VERSION_FLAT
}
GREATER 600140090
)
check_cxx_compiler_flag
(
"-mllvm -enable-post-misched=0"
HAS_ENABLE_POST_MISCHED
)
if
(
HAS_ENABLE_POST_MISCHED
)
...
...
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