You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to HIP programming guides, Warp Cross Lane Functions are well supported in HIP. But I couldn't build the HIP code with some of these wrap functions e.g. int __all(int predicate) and int __any(int predicate) using HIP-CPU library.
Since those APIs are widely used in warp-level programing, I was wondering if there are some plans for these functions, __all and __any (__ballot is already implemented in HIP-CPU).
The text was updated successfully, but these errors were encountered:
Thank you for filing this @ueqri . I will add them, but please note that there's a caveat with Cross Lane Functions (it's one of the divergence points between CPU and GPU), in that on CPU these'll carry barrier semantics (as if calling __syncthreads). I think that @MathiasMagnus ran into it, so he might have something to add.
According to HIP programming guides, Warp Cross Lane Functions are well supported in HIP. But I couldn't build the HIP code with some of these wrap functions e.g.
int __all(int predicate)
andint __any(int predicate)
using HIP-CPU library.Since those APIs are widely used in warp-level programing, I was wondering if there are some plans for these functions,
__all
and__any
(__ballot
is already implemented in HIP-CPU).The text was updated successfully, but these errors were encountered: