Home
last modified time | relevance | path

Searched refs:DeviceMemory (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp776 struct DeviceMemory { struct
781 DEFINE_OBJECT_HANDLE_CONVERSION(DeviceMemory) in DEFINE_OBJECT_HANDLE_CONVERSION() argument
787 if (SIZE_MAX - sizeof(DeviceMemory) <= alloc_info->allocationSize) in DEFINE_OBJECT_HANDLE_CONVERSION()
792 size_t size = sizeof(DeviceMemory) + size_t(alloc_info->allocationSize); in DEFINE_OBJECT_HANDLE_CONVERSION()
793 DeviceMemory* mem = static_cast<DeviceMemory*>(allocator->pfnAllocation( in DEFINE_OBJECT_HANDLE_CONVERSION()
794 allocator->pUserData, size, alignof(DeviceMemory), in DEFINE_OBJECT_HANDLE_CONVERSION()
808 DeviceMemory* mem = GetDeviceMemoryFromHandle(mem_handle); in FreeMemory()
818 DeviceMemory* mem = GetDeviceMemoryFromHandle(mem_handle); in MapMemory()
/frameworks/ml/nn/runtime/test/
DTestCompliance.cpp190 TEST_F(ComplianceTest, DeviceMemory) { in TEST_F() argument