Open echeresh opened 11 months ago
With OpenCL we can use clGetKernelInfo() to access the kernel binary:
clGetKernelInfo()
clGetKernelInfo(kernel, CL_KERNEL_BINARY_PROGRAM_INTEL); // Dump binary to a file ... // Use iga64 to disassemble: // iga64 -d ...
Level Zero is missing a similar API. There is zeModuleGetNativeBinary() but it returns a *module* binary which can't be used with iga64.
zeModuleGetNativeBinary()
iga64
related UR: https://github.com/oneapi-src/unified-runtime/issues/1130
With OpenCL we can use
clGetKernelInfo()
to access the kernel binary:Level Zero is missing a similar API. There is
zeModuleGetNativeBinary()
but it returns a *module* binary which can't be used withiga64
.