mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-16 10:59:55 +00:00
Add option to disable offload compress for CK builds (#2250)
* Add option to disable offload compress for CK builds
* Remove gemm exe offload compress flag conditional
[ROCm/composable_kernel commit: e91be7d96a]
This commit is contained in:
@@ -180,7 +180,7 @@ function(add_instance_library INSTANCE_NAME)
|
||||
target_compile_features(${INSTANCE_NAME} PUBLIC)
|
||||
|
||||
# flags to compress the library
|
||||
if(NOT WIN32 AND ${hip_VERSION_FLAT} GREATER 600241132)
|
||||
if(NOT DISABLE_OFFLOAD_COMPRESS AND NOT WIN32 AND ${hip_VERSION_FLAT} GREATER 600241132)
|
||||
#message("Adding --offload-compress flag for ${INSTANCE_NAME}")
|
||||
target_compile_options(${INSTANCE_NAME} PRIVATE --offload-compress)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user