[Openmp-commits] [llvm] [openmp] [OpenMP][OMPX] Add ballot_sync (PR #91297)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Thu May 23 08:10:39 PDT 2024
================
@@ -81,6 +83,10 @@ _TGT_KERNEL_LANGUAGE_HOST_IMPL_SYNC_C(void, sync_block_divergent, int Ordering,
#undef _TGT_KERNEL_LANGUAGE_HOST_IMPL_SYNC_C
///}
+static INLINE uint64_t ompx_ballot_sync(uint64_t mask, int pred) {
+ __builtin_trap();
+}
----------------
jhuber6 wrote:
What's this for? If it's a host fallback I would just return `mask & pred`.
https://github.com/llvm/llvm-project/pull/91297
More information about the Openmp-commits
mailing list