Skip to content

Commit

Permalink
Changed the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
konradkusiak97 committed Nov 3, 2023
1 parent 17cb185 commit d5a4691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/cuda/enqueue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ setKernelParams(const ur_context_handle_t Context,

auto Device = Context->getDevice();
if (LocalSize > static_cast<uint32_t>(Device->getMaxCapacityLocalMem())) {
setErrorMessage("Too much local memory allocated for device",
setErrorMessage("Excessive allocation of local memory on the device",
UR_RESULT_ERROR_ADAPTER_SPECIFIC);
return UR_RESULT_ERROR_ADAPTER_SPECIFIC;
}
Expand Down

0 comments on commit d5a4691

Please sign in to comment.