[llvm] [NFC][offload] Fix error message for cuFuncSetAttribute (PR #155655)

Kevin Sala Penades via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 10:05:02 PDT 2025


https://github.com/kevinsala created https://github.com/llvm/llvm-project/pull/155655

None

>From b4baa2b3b81b0e52fc053e2b71e3dac8322bb51a Mon Sep 17 00:00:00 2001
From: Kevin Sala <salapenades1 at llnl.gov>
Date: Wed, 27 Aug 2025 10:03:41 -0700
Subject: [PATCH] [NFC][offload] Fix error message for cuFuncSetAttribute

---
 offload/plugins-nextgen/cuda/src/rtl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/offload/plugins-nextgen/cuda/src/rtl.cpp b/offload/plugins-nextgen/cuda/src/rtl.cpp
index bf335ab20f75b..c7984287f7533 100644
--- a/offload/plugins-nextgen/cuda/src/rtl.cpp
+++ b/offload/plugins-nextgen/cuda/src/rtl.cpp
@@ -1444,7 +1444,7 @@ Error CUDAKernelTy::launchImpl(GenericDeviceTy &GenericDevice,
         Func, CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES, MaxDynCGroupMem);
     if (auto Err = Plugin::check(
             AttrResult,
-            "Error in cuLaunchKernel while setting the memory limits: %s"))
+            "error in cuFuncSetAttribute while setting the memory limits: %s"))
       return Err;
     MaxDynCGroupMemLimit = MaxDynCGroupMem;
   }



More information about the llvm-commits mailing list