[all-commits] [llvm/llvm-project] 92bba6: [Offload] Fix handling of 'bare' mode when environ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Apr 23 06:17:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92bba68634ec48c738d45bc86b05b1390aa82f4b
      https://github.com/llvm/llvm-project/commit/92bba68634ec48c738d45bc86b05b1390aa82f4b
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPDeviceConstants.h
    M offload/DeviceRTL/src/Kernel.cpp
    M offload/plugins-nextgen/common/include/PluginInterface.h
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    M offload/test/offloading/ompx_bare.c
    M offload/test/offloading/ompx_bare_multi_dim.cpp

  Log Message:
  -----------
  [Offload] Fix handling of 'bare' mode when environment missing (#136794)

Summary:
We treated the missing kernel environment as a unique mode, but it was
kind of this random bool that was doing the same thing and it explicitly
expects the kernel environment to be zero. It broke after the previous
change since it used to default to SPMD and didn't handle zero in any of
the other cases despite being used. This fixes that and queries for it
without needing to consume an error.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list