[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:13:31 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:
Why define it on the host at all then?
https://github.com/llvm/llvm-project/pull/91297
More information about the Openmp-commits
mailing list