mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-11 08:50:17 +00:00
Add pipeline v1/v2 selector, add more instances (#381)
* Add gridwise gemm pipeline v1/v2 selector * Pipeline selector working, test-wise add pipeline options to one instance * Add gemm instances * Add debug info to DeviceGemmXdl * Add debug info to DeviceGemmXdl_CShuffle * Add debug info to DeviceGemmXdl_CShuffle and instances to gemm_add_add_fastgelu * Minor fix * Add debug info to DeviceBatchedGemmXdl and instances to batched_gemm * set up inter-wave configuration * use defualt loop scheduling for supported gemm ops for blanket-applying interwave scheduling for all supported gemm ops, define macro CK_EXPERIMENTAL_DEFAULT_TO_INTER_WAVE_SCHEDULING=1. this should be discouraged though as it is not covered by CI * Add enum PipelineVersion * Update instances * Format * Fix the merge conflict * Add flags to disable added instances * Test disable flag check * Disable flag check * Enable the instances Co-authored-by: Anthony Chang <ac.chang@outlook.com>
This commit is contained in:
@@ -126,8 +126,14 @@
|
||||
#define CK_EXPERIMENTAL_USE_MEMCPY_FOR_BIT_CAST 1
|
||||
|
||||
// experimental feature: optimize for inter-wave scheduling policy
|
||||
#define CK_EXPERIMENTAL_INTER_WAVE_SCHEDULING 0
|
||||
#define CK_EXPERIMENTAL_INTER_WAVE_SCHEDULING 1
|
||||
#define CK_EXPERIMENTAL_INTER_WAVE_SCHEDULING_MAC_CLUSTERS 1
|
||||
// this will let make_default_loop_scheduler() return interwave scheduling flag by default
|
||||
#define CK_EXPERIMENTAL_DEFAULT_TO_INTER_WAVE_SCHEDULING 0
|
||||
// experimental feature: add instances using interwave scheduling
|
||||
#define CK_EXPERIMENTAL_INTER_WAVE_INSTANCES 1
|
||||
// experimental feature: add instances using pipeline v2
|
||||
#define CK_EXPERIMENTAL_PIPELINE_V2_INSTANCES 1
|
||||
|
||||
// hack: have underlying assumption that need to be satsified, otherwise it's a bug
|
||||
// hack for forcing register to keep idx_diff_low_const in SGPR. idx_diff_low_const must be
|
||||
|
||||
Reference in New Issue
Block a user