Skip to content

Commit 57deb60

Browse files
author
iclsrc
committed
Merge from 'sycl' to 'sycl-web' (1 commits)
2 parents 5ac1a40 + 54e9012 commit 57deb60

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

sycl/source/detail/allowlist.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
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) {

0 commit comments

Comments
 (0)