File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 8
8
9
9
#include < detail/device_impl.hpp>
10
10
#include < detail/device_info.hpp>
11
+ #include " detail/kernel_bundle_impl.hpp"
11
12
#include < detail/platform_impl.hpp>
12
13
#include < detail/ur_info_code.hpp>
13
14
#include < sycl/detail/ur.hpp>
@@ -924,7 +925,8 @@ bool device_impl::extOneapiCanCompile(
924
925
ext::oneapi::experimental::source_language Language) {
925
926
try {
926
927
// Get the shared_ptr to this object from the platform that owns it.
927
- std::shared_ptr<device_impl> Self = MPlatform->getOrMakeDeviceImpl (MDevice);
928
+ const std::shared_ptr<device_impl> Self =
929
+ MPlatform->getOrMakeDeviceImpl (MDevice, MPlatform);
928
930
return sycl::ext::oneapi::experimental::detail::
929
931
is_source_kernel_bundle_supported (Language,
930
932
std::vector<DeviceImplPtr>{Self});
You can’t perform that action at this time.
0 commit comments