-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__AMDGCN_WAVEFRONT_SIZE__ and __AMDGCN_WAVEFRONT_SIZE to be deprecated in future ROCM release #4270
Comments
@mrowan137 Thanks for letting us know. I guess we will do the static_assert only when the macros are defined. |
@mrowan137 https://rocm.docs.amd.com/projects/rocPRIM/en/latest/reference/intrinsics.html#_CPPv4N7rocprim9warp_sizeEv It seems that we can use |
Will they become deprecated as well? |
Yes, those too will become deprecated. It remains to be seen whether they're replaced with something, but for the time being it may be safest to assume that any workaround based on a ROCm library would also be deprecated. |
See AMReX-Codes#4270 for more details.
As an FYI, the macros
__AMDGCN_WAVEFRONT_SIZE__
and__AMDGCN_WAVEFRONT_SIZE
are planned to be deprecated in a future release of ROCm (mentioned in ROCm 6.3 release notes). I am not aware of any suitable way for applications to detect the wavefront size at compile time, so for the time being there may be no better alternative than the current hardcoding.(This check will become problematic at some point: https://github.com/AMReX-Codes/amrex/blob/b3f67385e62f387b548389222840486c0fffca57/Src/Base/AMReX_GpuDevice.cpp#L67C1-L73C7)
@WeiqunZhang
The text was updated successfully, but these errors were encountered: