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
33405167
Commit
33405167
authored
Oct 17, 2024
by
Astha Rai
Browse files
added codegen flag again, set default to ON
parent
825d9008
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
CMakeLists.txt
CMakeLists.txt
+5
-6
No files found.
CMakeLists.txt
View file @
33405167
...
...
@@ -97,10 +97,10 @@ if(DL_KERNELS)
add_definitions
(
-DDL_KERNELS
)
set
(
CK_ENABLE_DL_KERNELS
"ON"
)
endif
()
#
option(CK_USE_CODEGEN "Enable codegen library" ON)
#
if(CK_USE_CODEGEN)
#
add_definitions(-DCK_USE_CODEGEN)
#
endif()
option
(
CK_USE_CODEGEN
"Enable codegen library"
ON
)
if
(
CK_USE_CODEGEN
)
add_definitions
(
-DCK_USE_CODEGEN
)
endif
()
include
(
getopt
)
...
...
@@ -571,8 +571,7 @@ rocm_package_setup_component(profiler
)
add_subdirectory
(
profiler
)
#if(CK_USE_CODEGEN AND (GPU_TARGETS MATCHES "gfx9" OR GPU_ARCHS))
if
(
GPU_TARGETS MATCHES
"gfx9"
OR GPU_ARCHS
)
if
(
CK_USE_CODEGEN
AND
(
GPU_TARGETS MATCHES
"gfx9"
OR GPU_ARCHS
))
add_subdirectory
(
codegen
)
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