warpSize likely incorrect for AMD GPU
Issue #50
new
warpSize is a constexpr in HIP headers and is conditionally defined based on gfx arch. It is 64 for AMD Instinctâ„¢ MI Series Accelerators, and 32 for others. The source file zmod_shufl.cu seems to use warpSize in some places, and a hard-coded 32 in others.
This file and any others using warp primitives should be reviewed for correctness on AMD GPUs.
It was unclear if a unit test existed for the above function.