Skip to content

Commit 0dc146a

Browse files
smaslov-intelagainull
authored andcommitted
[SYCL] Follow up fix after [SYCL] Make backend a property of a platform (intel#9153)
1 parent 6a3b4da commit 0dc146a

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
@@ -116,7 +116,7 @@ typename Param::return_type device_impl::get_info() const {
116116
if (is_host()) {
117117
return get_device_info_host<Param>();
118118
}
119-
return get_device_info<Param>(MPlatform->getDeviceImpl(MDevice));
119+
return get_device_info<Param>(MPlatform->getOrMakeDeviceImpl(MDevice, MPlatform));
120120
}
121121
// Explicitly instantiate all device info traits
122122
#define __SYCL_PARAM_TRAITS_SPEC(DescType, Desc, ReturnT, PiCode) \

0 commit comments

Comments
 (0)