[llvm] [OpenMP][Offload] Mark `SPMD_NO_LOOP` as a valid exec mode (PR #155990)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 29 01:50:03 PDT 2025
https://github.com/RossBrunton created https://github.com/llvm/llvm-project/pull/155990
This was added in #154105 , but was not added to the plugin interface's
list of valid modes.
>From 87f5d064d78ebb3615cbf5be6680c80321574dbd Mon Sep 17 00:00:00 2001
From: Ross Brunton <ross at codeplay.com>
Date: Fri, 29 Aug 2025 09:48:40 +0100
Subject: [PATCH] [OpenMP][Offload] Mark `SPMD_NO_LOOP` as a valid exec mode
This was added in #154105 , but was not added to the plugin interface's
list of valid modes.
---
offload/plugins-nextgen/common/include/PluginInterface.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/offload/plugins-nextgen/common/include/PluginInterface.h b/offload/plugins-nextgen/common/include/PluginInterface.h
index 2c01ed219b29c..f0c05a1b90716 100644
--- a/offload/plugins-nextgen/common/include/PluginInterface.h
+++ b/offload/plugins-nextgen/common/include/PluginInterface.h
@@ -417,6 +417,7 @@ struct GenericKernelTy {
case OMP_TGT_EXEC_MODE_SPMD:
case OMP_TGT_EXEC_MODE_GENERIC:
case OMP_TGT_EXEC_MODE_GENERIC_SPMD:
+ case OMP_TGT_EXEC_MODE_SPMD_NO_LOOP:
return true;
}
return false;
More information about the llvm-commits
mailing list