mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-23 08:19:06 +00:00
Do not use warpSize as compile time constant as it is removed (#2320)
* Do not use warpSize as compile time constant as it is removed * Update tile_image_to_column_shape.hpp update warpSize usage. * clean-up all use of warpSize, make sure code builds * fix --------- Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com> Co-authored-by: illsilin <Illia.Silin@amd.com> Co-authored-by: Bartlomiej Kocot <barkocot@amd.com>
This commit is contained in:
committed by
GitHub
parent
3af66e99ab
commit
4c57157d50
@@ -32,7 +32,7 @@ static __device__ void gms_init(int NumWarps, int* p_control_bits)
|
||||
// all the workgroups in the synchronization group is supposed to call this function
|
||||
static __device__ void gms_barrier(int* p_control_bits)
|
||||
{
|
||||
constexpr int mask = warpSize - 1;
|
||||
constexpr int mask = WarpSize - 1;
|
||||
|
||||
if((threadIdx.x & mask) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user