[Openmp-commits] [openmp] [OpenMP] Fix work-stealing stack clobber with taskwait (PR #126049)
via Openmp-commits
openmp-commits at lists.llvm.org
Thu Feb 6 03:27:14 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 4eab2194872d54e2d4496135a277b1610ff33ead 5b0e5b72d2e21f11b4090655a2f5a38f1a2594d4 --extensions cpp -- openmp/runtime/src/kmp_taskdeps.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/openmp/runtime/src/kmp_taskdeps.cpp b/openmp/runtime/src/kmp_taskdeps.cpp
index 90deb91afe..d19ad66489 100644
--- a/openmp/runtime/src/kmp_taskdeps.cpp
+++ b/openmp/runtime/src/kmp_taskdeps.cpp
@@ -1007,11 +1007,11 @@ void __kmpc_omp_taskwait_deps_51(ident_t *loc_ref, kmp_int32 gtid,
}
#if USE_FAST_MEMORY
- kmp_depnode_t *node =
- (kmp_depnode_t *)__kmp_fast_allocate(thread, sizeof(kmp_depnode_t));
+ kmp_depnode_t *node =
+ (kmp_depnode_t *)__kmp_fast_allocate(thread, sizeof(kmp_depnode_t));
#else
- kmp_depnode_t *node =
- (kmp_depnode_t *)__kmp_thread_malloc(thread, sizeof(kmp_depnode_t));
+ kmp_depnode_t *node =
+ (kmp_depnode_t *)__kmp_thread_malloc(thread, sizeof(kmp_depnode_t));
#endif
__kmp_init_node(node);
``````````
</details>
https://github.com/llvm/llvm-project/pull/126049
More information about the Openmp-commits
mailing list