"docs/source/en/api/pipelines/semantic_stable_diffusion.md" did not exist on "bcc570b910ec9e73ec146b17b0b60b5e6f3e4f38"
Commit aca0c9e5 authored by rocking's avatar rocking
Browse files

Support Repeat_M in distribution

parent d7110645
...@@ -15,9 +15,9 @@ namespace ck_tile { ...@@ -15,9 +15,9 @@ namespace ck_tile {
+<----------------------< Repeat_N(2)>--------------------->+ +<----------------------< Repeat_N(2)>--------------------->+
| | | |
+<-- <WarpPerBlock_N(2)> -->+ +<-- <WarpPerBlock_N(2)> -->+
Warp_M Warp_N
+--------------+--------------+--------------+--------------+----+----------------+ +--------------+--------------+--------------+--------------+----+----------------+
Warp_N | wrap_0 | wrap_1 | | ^ ^ Warp_M | wrap_0 | wrap_1 | | ^ ^
+--------------+--------------+ | <WarpPerBlock_M(2)> | +--------------+--------------+ | <WarpPerBlock_M(2)> |
| wrap_2 | wrap_3 | | v | wrap_2 | wrap_3 | | v
+--------------+--------------+--------------+--------------+----+ Block_M +--------------+--------------+--------------+--------------+----+ Block_M
......
...@@ -19,12 +19,12 @@ struct Layernorm2dFwdPipelineDefaultPolicy ...@@ -19,12 +19,12 @@ struct Layernorm2dFwdPipelineDefaultPolicy
return make_static_tile_distribution( return make_static_tile_distribution(
tile_distribution_encoding< tile_distribution_encoding<
sequence<>, sequence<>,
tuple<sequence<S::WarpPerBlock_M, S::ThreadPerWarp_M, S::Vector_M>, tuple<sequence<S::Repeat_M, S::WarpPerBlock_M, S::ThreadPerWarp_M, S::Vector_M>,
sequence<S::Repeat_N, S::WarpPerBlock_N, S::ThreadPerWarp_N, S::Vector_N>>, sequence<S::Repeat_N, S::WarpPerBlock_N, S::ThreadPerWarp_N, S::Vector_N>>,
tuple<sequence<1, 2>, sequence<1, 2>>, tuple<sequence<1, 2>, sequence<1, 2>>,
tuple<sequence<0, 1>, sequence<1, 2>>, tuple<sequence<1, 1>, sequence<2, 2>>,
sequence<1, 2, 2>, sequence<1, 1, 2, 2>,
sequence<2, 0, 3>>{}); sequence<0, 3, 0, 3>>{});
} }
template <typename Problem> template <typename Problem>
CK_TILE_DEVICE static constexpr auto MakeGammaBetaBlockTileDistribution() CK_TILE_DEVICE static constexpr auto MakeGammaBetaBlockTileDistribution()
......
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