[all-commits] [llvm/llvm-project] 050892: [Offload] Use new error code handling mechanism an...

Ross Brunton via All-commits all-commits at lists.llvm.org
Tue May 20 06:50:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 050892d2f879d278b3342edde028f62bf77d00d2
      https://github.com/llvm/llvm-project/commit/050892d2f879d278b3342edde028f62bf77d00d2
  Author: Ross Brunton <ross at codeplay.com>
  Date:   2025-05-20 (Tue, 20 May 2025)

  Changed paths:
    M offload/include/Shared/OffloadErrcodes.inc
    M offload/include/Shared/OffloadError.h
    M offload/liboffload/API/Common.td
    M offload/liboffload/include/generated/OffloadAPI.h
    M offload/liboffload/include/generated/OffloadPrint.hpp
    M offload/liboffload/src/OffloadImpl.cpp
    M offload/libomptarget/PluginManager.cpp
    M offload/libomptarget/device.cpp
    M offload/plugins-nextgen/amdgpu/dynamic_hsa/hsa.h
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp
    M offload/plugins-nextgen/common/include/PluginInterface.h
    M offload/plugins-nextgen/common/src/GlobalHandler.cpp
    M offload/plugins-nextgen/common/src/JIT.cpp
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    M offload/plugins-nextgen/common/src/RPC.cpp
    M offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
    M offload/plugins-nextgen/cuda/src/rtl.cpp
    M offload/plugins-nextgen/host/src/rtl.cpp
    M offload/unittests/OffloadAPI/kernel/olGetKernel.cpp

  Log Message:
  -----------
  [Offload] Use new error code handling mechanism and lower-case messages (#139275)

[Offload] Use new error code handling mechanism

This removes the old ErrorCode-less error method and requires
every user to provide a concrete error code. All calls have been
updated.

In addition, for consistency with error messages elsewhere in LLVM, all
messages have been made to start lower case.



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