Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 54fec35

Browse files
committed
rename new info query
Signed-off-by: Sergey V Maslov <[email protected]>
1 parent ba55439 commit 54fec35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SYCL/Plugin/level_zero_device_free_mem.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ int main() {
1717
auto dev = Queue.get_device();
1818
std::cout << "Device: " << dev.get_info<info::device::name>() << std::endl;
1919

20-
if (!dev.is_host() && dev.has(aspect::ext_intel_device_info_free_memory)) {
20+
if (!dev.is_host() && dev.has(aspect::ext_intel_free_memory)) {
2121
auto FreeMemory =
22-
dev.get_info<info::device::ext_intel_device_info_free_memory>();
22+
dev.get_info<info::device::ext_intel_free_memory>();
2323
std::cout << "Free device memory: " << FreeMemory << std::endl;
2424
} else {
2525
std::cout

0 commit comments

Comments
 (0)