Skip to content

Commit deef92d

Browse files
authored
Avoid force setting ENABLE_PIPELINE_V2_OPT to OFF (ROCm#961)
* Avoid force setting ENABLE_PIPELINE_V2_OPT to OFF * Remove compilation option variable MAX_ILP_OPTS
1 parent 0abc0f8 commit deef92d

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

library/src/tensor_operation_instance/gpu/gemm/CMakeLists.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,9 @@ list(APPEND GEMM_INSTANCES device_gemm_xdl_c_shuffle_fp8_fp8_fp8_mk_kn_mn_instan
9696

9797
add_instance_library(device_gemm_instance ${GEMM_INSTANCES})
9898

99-
set(ENABLE_PIPELINE_V2_OPT OFF)
99+
set(ENABLE_PIPELINE_V2_OPT)
100100

101101
if (ENABLE_PIPELINE_V2_OPT)
102-
set(MAX_ILP_OPTS
103-
-mllvm
104-
-amdgpu-enable-max-ilp-scheduling-strategy
105-
)
106102
set(WAVES_PER_EU_DEFS
107103
CK_USE_WAVES_PER_EU=1
108104
CK_MIN_WAVES_PER_EU=1
@@ -118,15 +114,15 @@ if (ENABLE_PIPELINE_V2_OPT)
118114
COMPILE_DEFINITIONS "${WAVES_PER_EU_DEFS};${IGLP_OPT_DEFS}")
119115
# layout=NN
120116
set_source_files_properties(device_gemm_xdl_f16_f16_f16/km_nk_mn_default_pipeline_v2_opt_instance.cpp PROPERTIES
121-
COMPILE_OPTIONS "${MAX_ILP_OPTS}"
117+
COMPILE_OPTIONS ";;"
122118
COMPILE_DEFINITIONS "${WAVES_PER_EU_DEFS};${IGLP_OPT_DEFS}")
123119
# layout=TT
124120
set_source_files_properties(device_gemm_xdl_f16_f16_f16/mk_kn_mn_default_pipeline_v2_opt_instance.cpp PROPERTIES
125121
COMPILE_OPTIONS ";;"
126122
COMPILE_DEFINITIONS "${WAVES_PER_EU_DEFS};${IGLP_OPT_DEFS}")
127123
# layout=TN
128124
set_source_files_properties(device_gemm_xdl_f16_f16_f16/mk_nk_mn_default_pipeline_v2_opt_instance.cpp PROPERTIES
129-
COMPILE_OPTIONS "${MAX_ILP_OPTS}"
125+
COMPILE_OPTIONS ";;"
130126
COMPILE_DEFINITIONS "${WAVES_PER_EU_DEFS};${IGLP_OPT_DEFS}")
131127
endif(ENABLE_PIPELINE_V2_OPT)
132128

0 commit comments

Comments
 (0)