We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa04221 commit c8f3096Copy full SHA for c8f3096
unified-runtime/source/adapters/level_zero/v2/kernel.cpp
@@ -431,8 +431,7 @@ ur_result_t urKernelSetArgPointer(
431
std::scoped_lock<ur_shared_mutex> guard(hKernel->Mutex);
432
// Store the raw pointer value and defer setting the
433
// argument until we know the device where kernel is being submitted.
434
- hKernel->addPendingPointerArgument(argIndex, pArgValue);
435
- return UR_RESULT_SUCCESS;
+ return hKernel->addPendingPointerArgument(argIndex, pArgValue);
436
} catch (...) {
437
return exceptionToResult(std::current_exception());
438
}
0 commit comments