Skip to content

Commit d2def6e

Browse files
committed
[SYCL] Fixing an error in device_impl.cpp. Was using the wrong variable
Device instead of MDevice. Signed-off-by: Garima Gupta <[email protected]>
1 parent 76503f6 commit d2def6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/device_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ device_impl::device_impl(device_interop_handle_t InteropDeviceHandle,
6464
if (!Platform) {
6565
RT::PiPlatform plt = nullptr; // TODO catch an exception and put it to list
6666
// of asynchronous exceptions
67-
Plugin.call<PiApiKind::piDeviceGetInfo>(Device, PI_DEVICE_INFO_PLATFORM,
67+
Plugin.call<PiApiKind::piDeviceGetInfo>(MDevice, PI_DEVICE_INFO_PLATFORM,
6868
sizeof(plt), &plt, nullptr);
6969
Platform = std::make_shared<platform_impl>(plt, Plugin);
7070
}

0 commit comments

Comments
 (0)