[llvm] [openmp] [OpenMP][OMPX] Add ballot_sync (PR #91297)
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 10:57:19 PDT 2024
================
@@ -57,6 +59,12 @@ int32_t shuffleDown(uint64_t Mask, int32_t Var, uint32_t LaneDelta,
return __builtin_amdgcn_ds_bpermute(Index << 2, Var);
}
+uint32_t ballotSync(uint32_t Mask, int32_t Pred) {
----------------
jdoerfert wrote:
64 bit seems reasonable, I think.
https://github.com/llvm/llvm-project/pull/91297
More information about the llvm-commits
mailing list