[llvm] [OpenMP][Offload] Add SPMD-No-Loop mode to OpenMP offload runtime (PR #154105)

Dominik Adamski via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 08:57:09 PDT 2025


================
@@ -640,6 +640,18 @@ uint32_t GenericKernelTy::getNumThreads(GenericDeviceTy &GenericDevice,
   if (ThreadLimitClause[0] > 0 && isGenericMode())
     ThreadLimitClause[0] += GenericDevice.getWarpSize();
 
+  // Honor OMP_TEAMS_THREAD_LIMIT environment variable and
----------------
DominikAdamski wrote:

> Is there a test case for No-Loop that does not work with the existing logic?
I haven't found and I removed unnecessary code.

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


More information about the llvm-commits mailing list