File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 99#include < detail/config.hpp>
1010#include < detail/device_impl.hpp>
1111#include < detail/device_info.hpp>
12- #include < detail/platform_info.hpp>
1312#include < sycl/backend_types.hpp>
1413
1514#include < algorithm>
@@ -387,12 +386,10 @@ void applyAllowList(std::vector<ur_device_handle_t> &UrDevices,
387386 }
388387 // get PlatformVersion value and put it to DeviceDesc
389388 DeviceDesc.emplace (PlatformVersionKeyName,
390- sycl::detail::get_platform_info<info::platform::version>(
391- UrPlatform, Adapter));
389+ PlatformImpl.get_info <info::platform::version>());
392390 // get PlatformName value and put it to DeviceDesc
393391 DeviceDesc.emplace (PlatformNameKeyName,
394- sycl::detail::get_platform_info<info::platform::name>(
395- UrPlatform, Adapter));
392+ PlatformImpl.get_info <info::platform::name>());
396393
397394 int InsertIDx = 0 ;
398395 for (ur_device_handle_t Device : UrDevices) {
You can’t perform that action at this time.
0 commit comments