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
3b6a481e
Unverified
Commit
3b6a481e
authored
Nov 14, 2024
by
Illia Silin
Committed by
GitHub
Nov 14, 2024
Browse files
re-enable coerce-illegal-types flag for rocm6.3 (#1668)
parent
d805a461
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
3b6a481e
...
@@ -221,7 +221,7 @@ if(NOT WIN32 AND ${hip_VERSION_FLAT} GREATER 600140090)
...
@@ -221,7 +221,7 @@ if(NOT WIN32 AND ${hip_VERSION_FLAT} GREATER 600140090)
endif
()
endif
()
set
(
check-coerce
)
set
(
check-coerce
)
check_cxx_compiler_flag
(
" -mllvm -amdgpu-coerce-illegal-types=1"
check-coerce
)
check_cxx_compiler_flag
(
" -mllvm -amdgpu-coerce-illegal-types=1"
check-coerce
)
if
(
NOT WIN32 AND check-coerce AND
${
hip_VERSION_FLAT
}
GREATER 600241132
AND
${
hip_VERSION_FLAT
}
LESS 600300000
)
if
(
NOT WIN32 AND check-coerce AND
${
hip_VERSION_FLAT
}
GREATER 600241132
)
message
(
"Adding the amdgpu-coerce-illegal-types=1"
)
message
(
"Adding the amdgpu-coerce-illegal-types=1"
)
add_compile_options
(
"SHELL: -mllvm -amdgpu-coerce-illegal-types=1"
)
add_compile_options
(
"SHELL: -mllvm -amdgpu-coerce-illegal-types=1"
)
endif
()
endif
()
...
...
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