Skip to content

Commit 0b56ca4

Browse files
committed
update use of plugin
Signed-off-by: smaslov <[email protected]>
1 parent a6b9701 commit 0b56ca4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl/source/detail/device_info.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ struct get_device_info_impl<
795795
ext::codeplay::experimental::info::device::max_registers_per_work_group> {
796796
static uint32_t get(const DeviceImplPtr &Dev) {
797797
uint32_t maxRegsPerWG;
798-
Dev->getPlugin().call<PiApiKind::piDeviceGetInfo>(
798+
Dev->getPlugin()->call<PiApiKind::piDeviceGetInfo>(
799799
Dev->getHandleRef(),
800800
PiInfoCode<ext::codeplay::experimental::info::device::
801801
max_registers_per_work_group>::value,

sycl/source/detail/error_handling/error_handling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void handleInvalidWorkGroupSize(const device_impl &DeviceImpl, pi_kernel Kernel,
253253
NDRDesc.LocalSize[0] * NDRDesc.LocalSize[1] * NDRDesc.LocalSize[2];
254254

255255
uint32_t NumRegisters = 0;
256-
Plugin.call<PiApiKind::piKernelGetGroupInfo>(
256+
Plugin->call<PiApiKind::piKernelGetGroupInfo>(
257257
Kernel, Device, PI_KERNEL_GROUP_INFO_NUM_REGS, sizeof(NumRegisters),
258258
&NumRegisters, nullptr);
259259

0 commit comments

Comments
 (0)