Skip to content

Commit bbd1fb3

Browse files
committed
fix allowlist
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
1 parent 6579065 commit bbd1fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/allowlist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ void applyAllowList(std::vector<RT::PiDevice> &PiDevices,
364364

365365
int InsertIDx = 0;
366366
for (RT::PiDevice Device : PiDevices) {
367-
auto DeviceImpl = PlatformImpl->getDeviceImpl(Device);
367+
auto DeviceImpl = PlatformImpl->getOrMakeDeviceImpl(Device, PlatformImpl);
368368
// get DeviceType value and put it to DeviceDesc
369369
RT::PiDeviceType PiDevType;
370370
Plugin.call<PiApiKind::piDeviceGetInfo>(Device, PI_DEVICE_INFO_TYPE,

0 commit comments

Comments
 (0)