compute-runtime
compute-runtime copied to clipboard
Fail to find kernel name in the attached spirv file with Level Zero driver
The kernel 'CeedKernelhHipGenOperator_Scale' cannot be found in the module created.
The binary SPIRV is at: https://github.com/CHIP-SPV/chipStar/files/12419361/spirv.zip.
More details can be found in the chipStar issue: #https://github.com/CHIP-SPV/chipStar/issues/562
#https://github.com/CHIP-SPV/chipStar/issues/562
Hi @pengtu @pvelesko
Could you share kernel binary compiled by ocloc?
@JablonskiMateusz : It is in the following link: https://github.com/CHIP-SPV/chipStar/files/12419361/spirv.zip. Thanks.
@pengtu that's spv format which is intermediate format. I meant device binary format. What is target GPU?
When trying to compile the kernel for DG2 device I see compilation error:
error: Double type is not supported on this platform. in kernel: 'CeedKernelHipGenOperator_Scale' error: backend compiler failed build. Build failed with error code: -11 Command was: ocloc compile -device dg2 -file hip-spirv-cb1f41.spv -spirv_input
I used ocloc
from recent release (https://github.com/intel/compute-runtime/releases/tag/23.30.26918.9)
@JablonskiMateusz Thank you for looking into this. Our build target is PVC. In the past, we have encounter similar missing kernel problem when the register spills + user local memory allocation usage exceeds the hardware SLM size.
Could you share zebin from the module? To do that you need to run the application with env variables: NEOReadDebugKeys=1 DumpZEBin=1