mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Add Windows image memory export functionality
Adds zeImageGetAllocPropertiesExt function, implementation code shared shared with zeMemGetAllocProperties moved into common helper function. Related-To: LOCI-2665 Signed-off-by: Jim Snow <jim.m.snow@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e8a6842b7e
commit
0a926c7d12
@@ -460,11 +460,13 @@ zeGetImageProcAddrTable(
|
||||
pDdiTable->pfnGetProperties = zeImageGetProperties;
|
||||
pDdiTable->pfnCreate = zeImageCreate;
|
||||
pDdiTable->pfnDestroy = zeImageDestroy;
|
||||
pDdiTable->pfnGetAllocPropertiesExt = zeImageGetAllocPropertiesExt;
|
||||
driver_ddiTable.core_ddiTable.Image = *pDdiTable;
|
||||
if (driver_ddiTable.enableTracing) {
|
||||
pDdiTable->pfnGetProperties = zeImageGetProperties_Tracing;
|
||||
pDdiTable->pfnCreate = zeImageCreate_Tracing;
|
||||
pDdiTable->pfnDestroy = zeImageDestroy_Tracing;
|
||||
pDdiTable->pfnGetAllocPropertiesExt = zeImageGetAllocPropertiesExt;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user