Skip to content

Commit 0ad35d7

Browse files
authored
[NFC][offload] Fix error message for cuFuncSetAttribute (#155655)
1 parent 5e32f72 commit 0ad35d7

File tree

1 file changed

+1
-1
lines changed
  • offload/plugins-nextgen/cuda/src

1 file changed

+1
-1
lines changed

offload/plugins-nextgen/cuda/src/rtl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ Error CUDAKernelTy::launchImpl(GenericDeviceTy &GenericDevice,
14441444
Func, CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES, MaxDynCGroupMem);
14451445
if (auto Err = Plugin::check(
14461446
AttrResult,
1447-
"Error in cuLaunchKernel while setting the memory limits: %s"))
1447+
"error in cuFuncSetAttribute while setting the memory limits: %s"))
14481448
return Err;
14491449
MaxDynCGroupMemLimit = MaxDynCGroupMem;
14501450
}

0 commit comments

Comments
 (0)