[Openmp-commits] [openmp] [Libomptarget] Unify interface and compile each plugin separately (PR #86191)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Mar 21 13:14:12 PDT 2024


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 893717446bbc8f31427b581af5fbaf4154b63402 009ed9705123f1b787992f9ef0b77331a90d758a -- openmp/libomptarget/test/offloading/ompx_bare.c openmp/libomptarget/test/offloading/struct_mapping_with_pointers.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/openmp/libomptarget/test/offloading/ompx_bare.c b/openmp/libomptarget/test/offloading/ompx_bare.c
index 5216b4d624..0d71bc23da 100644
--- a/openmp/libomptarget/test/offloading/ompx_bare.c
+++ b/openmp/libomptarget/test/offloading/ompx_bare.c
@@ -20,7 +20,8 @@ int main(int argc, char *argv[]) {
   const int N = num_blocks * block_size;
   int *data = (int *)malloc(N * sizeof(int));
 
-  // CHECK: {{.*}} device 0 info: Launching kernel __omp_offloading_{{.*}} with 64 blocks and 64 threads in SPMD mode
+  // CHECK: {{.*}} device 0 info: Launching kernel __omp_offloading_{{.*}} with
+  // 64 blocks and 64 threads in SPMD mode
 
 #pragma omp target teams ompx_bare num_teams(num_blocks) thread_limit(block_size) map(from: data[0:N])
   {

``````````

</details>


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


More information about the Openmp-commits mailing list