[llvm] [NFC][offload] Fix error message for cuFuncSetAttribute (PR #155655)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 10:05:35 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-offload
Author: Kevin Sala Penades (kevinsala)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/155655.diff
1 Files Affected:
- (modified) offload/plugins-nextgen/cuda/src/rtl.cpp (+1-1)
``````````diff
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;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/155655
More information about the llvm-commits
mailing list