llvm
f7f6d350 - [UR][L0] Use direct function pointers for image extensions on L0 API >= 1.15 (#21642)

Commit
1 day ago
[UR][L0] Use direct function pointers for image extensions on L0 API >= 1.15 (#21642) Starting with Level Zero API version 1.15, zeImageGetDeviceOffsetExp and zeMemGetPitchFor2dImage are available as direct symbols rather than requiring dynamic lookup via zeDriverGetExtensionFunctionAddress. Use the direct function pointers when API >= 1.15 and fall back to the dynamic lookup for older versions. Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Author
Parents
Loading