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 0501008 commit 022503aCopy full SHA for 022503a
sycl/source/detail/scheduler/commands.cpp
@@ -1702,11 +1702,11 @@ pi_result ExecCGCommand::SetKernelParamsAndLaunch(
1702
if (DeviceImageImpl != nullptr) {
1703
RT::PiMem SpecConstsBuffer =
1704
DeviceImageImpl->get_spec_const_buffer_ref();
1705
- Plugin.call<PiApiKind::piKernelSetArg>(
1706
- Kernel, NextTrueIndex, sizeof(RT::PiMem), &SpecConstsBuffer);
+ Plugin.call<PiApiKind::piextKernelSetArgMemObj>(Kernel, NextTrueIndex,
+ &SpecConstsBuffer);
1707
} else {
1708
- Plugin.call<PiApiKind::piKernelSetArg>(Kernel, NextTrueIndex,
1709
- sizeof(RT::PiMem), nullptr);
+ nullptr);
1710
}
1711
break;
1712
0 commit comments