[Openmp-commits] [clang] [llvm] [openmp] [OpenMP][offload] Fix dynamic schedule tracking (PR #97065)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Fri Jun 28 08:49:28 PDT 2024


================
@@ -359,6 +359,10 @@ int32_t __kmpc_cancel(IdentTy *Loc, int32_t TId, int32_t CancelVal);
 ///{
 int32_t __kmpc_shuffle_int32(int32_t val, int16_t delta, int16_t size);
 int64_t __kmpc_shuffle_int64(int64_t val, int16_t delta, int16_t size);
+
+/// Manage dynamic schedule data structure:
+void __init_thread_dst();
----------------
shiltian wrote:

This function is internal so no need to make it a C interface, as well as with `__` prefix. Technically better to wrap it into some namespace.

https://github.com/llvm/llvm-project/pull/97065


More information about the Openmp-commits mailing list