Commit 33405167 authored by Astha Rai's avatar Astha Rai
Browse files

added codegen flag again, set default to ON

parent 825d9008
...@@ -97,10 +97,10 @@ if(DL_KERNELS) ...@@ -97,10 +97,10 @@ if(DL_KERNELS)
add_definitions(-DDL_KERNELS) add_definitions(-DDL_KERNELS)
set(CK_ENABLE_DL_KERNELS "ON") set(CK_ENABLE_DL_KERNELS "ON")
endif() endif()
# option(CK_USE_CODEGEN "Enable codegen library" ON) option(CK_USE_CODEGEN "Enable codegen library" ON)
# if(CK_USE_CODEGEN) if(CK_USE_CODEGEN)
# add_definitions(-DCK_USE_CODEGEN) add_definitions(-DCK_USE_CODEGEN)
# endif() endif()
include(getopt) include(getopt)
...@@ -571,8 +571,7 @@ rocm_package_setup_component(profiler ...@@ -571,8 +571,7 @@ rocm_package_setup_component(profiler
) )
add_subdirectory(profiler) add_subdirectory(profiler)
#if(CK_USE_CODEGEN AND (GPU_TARGETS MATCHES "gfx9" OR GPU_ARCHS)) if(CK_USE_CODEGEN AND (GPU_TARGETS MATCHES "gfx9" OR GPU_ARCHS))
if(GPU_TARGETS MATCHES "gfx9" OR GPU_ARCHS)
add_subdirectory(codegen) add_subdirectory(codegen)
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment