GROUP_SWIZZLE implementation of snake curve. More...
#include <dispatch_policy.hpp>
Public Member Functions | |
| group_swizzle_snake ()=default | |
Static Public Member Functions | |
| template<int idx> | |
| static __XETLA_API std::enable_if_t< idx==0, int > | get_tile_idx (sycl::nd_item< 3 > &item) |
| template<int idx> | |
| static __XETLA_API std::enable_if_t< idx==1, int > | get_tile_idx (sycl::nd_item< 3 > &item) |
| template<int idx> | |
| static __XETLA_API std::enable_if_t< idx==2, int > | get_tile_idx (sycl::nd_item< 3 > &item) |
| static __XETLA_API void | update_group_range (uint32_t &group_range_m, uint32_t &group_range_n) |
Static Public Attributes | |
| static constexpr gpu_arch | arch_tag = arch_tag_ |
GROUP_SWIZZLE implementation of snake curve.
A GROUP_SWIZZLE implementation to remap linear workgroup id to a 2d coordination in snake order.
| wg_num_n_ | Is the number of workgroup in horizontal direction, given by users. |
| arch_tag_ | Is the HW architecture. |
|
inlinedefault |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
staticconstexpr |