SWDEV-434226 - populate correct output in mempool supported handle type query

Change-Id: Iabbf9c0b54d9978671e3492f13660917499a03fa
Этот коммит содержится в:
Jatin Chaudhary
2023-11-27 15:01:57 +00:00
коммит произвёл Jatin Jaikishan Chaudhary
родитель b2102fe939
Коммит d5e596c975
2 изменённых файлов: 13 добавлений и 1 удалений
+3
Просмотреть файл
@@ -440,6 +440,9 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
case hipDeviceAttributeMemoryPoolsSupported:
*pi = HIP_MEM_POOL_SUPPORT;
break;
case hipDeviceAttributeMemoryPoolSupportedHandleTypes:
*pi = prop.memoryPoolSupportedHandleTypes;
break;
case hipDeviceAttributeVirtualMemoryManagementSupported:
*pi = static_cast<int>(g_devices[device]->devices()[0]->info().virtualMemoryManagement_);
break;