File tree Expand file tree Collapse file tree
lib/Dialect/TritonGPU/Transforms Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,26 @@ endif()
3535if(NOT FLAGTREE_BACKEND)
3636 add_definitions(-D__NVIDIA__)
3737 add_definitions(-D__AMD__)
38+ option(TRITON_RLC_ENABLE_COST_BASED_RESOLUTION
39+ " RLC: cost-based layout conflict resolution " ON)
40+ option(TRITON_RLC_ENABLE_BACKWARD_PROPAGATION
41+ " RLC: backward layout propagation from writeback converts " ON)
42+ option(TRITON_RLC_ENABLE_SMALL_COMPONENT_SOLVING
43+ " RLC: small closed-component solving " ON)
44+ option(TRITON_RLC_ENABLE_STORE_LAYOUT_REMATERIALIZATION
45+ " RLC: store-layout rematerialization for MMA writebacks " ON)
46+ if(TRITON_RLC_ENABLE_COST_BASED_RESOLUTION)
47+ add_definitions(-DTRITON_RLC_ENABLE_COST_BASED_RESOLUTION)
48+ endif()
49+ if(TRITON_RLC_ENABLE_BACKWARD_PROPAGATION)
50+ add_definitions(-DTRITON_RLC_ENABLE_BACKWARD_PROPAGATION)
51+ endif()
52+ if(TRITON_RLC_ENABLE_SMALL_COMPONENT_SOLVING)
53+ add_definitions(-DTRITON_RLC_ENABLE_SMALL_COMPONENT_SOLVING)
54+ endif()
55+ if(TRITON_RLC_ENABLE_STORE_LAYOUT_REMATERIALIZATION)
56+ add_definitions(-DTRITON_RLC_ENABLE_STORE_LAYOUT_REMATERIALIZATION)
57+ endif()
3858elseif(FLAGTREE_BACKEND STREQUAL " iluvatar ")
3959 add_definitions(-D__ILUVATAR__)
4060 set(FLAGTREE_TLE OFF)
You can’t perform that action at this time.
0 commit comments