Skip to content

Commit d5a4691

Browse files
committed
Changed the error message
1 parent 17cb185 commit d5a4691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/cuda/enqueue.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ setKernelParams(const ur_context_handle_t Context,
286286

287287
auto Device = Context->getDevice();
288288
if (LocalSize > static_cast<uint32_t>(Device->getMaxCapacityLocalMem())) {
289-
setErrorMessage("Too much local memory allocated for device",
289+
setErrorMessage("Excessive allocation of local memory on the device",
290290
UR_RESULT_ERROR_ADAPTER_SPECIFIC);
291291
return UR_RESULT_ERROR_ADAPTER_SPECIFIC;
292292
}

0 commit comments

Comments
 (0)