[flang-commits] [clang] [flang] [llvm] [openmp] [OpenMP][Offload] Add offload runtime support for dyn_groupprivate clause (PR #152831)

Kevin Sala Penades via flang-commits flang-commits at lists.llvm.org
Wed Nov 12 14:49:23 PST 2025


================
@@ -1982,6 +2032,17 @@ void GenericPluginTy::print_device_info(int32_t DeviceId) {
            toString(std::move(Err)).data());
 }
 
+int64_t GenericPluginTy::query_device_info(int32_t DeviceId,
+                                           DeviceQueryKind Query) {
+  const GenericDeviceTy &Device = getDevice(DeviceId);
----------------
kevinsala wrote:

Yes, that could be done with obtainInfo. I'd like to cache the infos in the plugins to avoid re-querying everything each time.

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


More information about the flang-commits mailing list