compute-runtime icon indicating copy to clipboard operation
compute-runtime copied to clipboard

OpenCL JIT compiler hangs

Open tangjinchuan opened this issue 9 months ago • 2 comments

Dear Intel OpenCL team, I have a kernel file which can be compiled with AMD 7800XT GPU using less than 100MB memory during compilation using AMD driver. However, by using the Intel runtime on Xe graphics (the latest version), it hangs during compiling and the memory usage is huge. Furthermore, it seems that a "-cl-opt-disable" flag can guarantee the kernel is compiled in a very short time.

I reported the issue previously to https://community.intel.com/t5/GPU-Compute-Software/OpenCL-JIT-compiler-freezing-with-a-kernel/td-p/1589484 . But no response for quite a while.

The freezing kernel is mainly due to BNField12.cl. clTest (2).zip

Thank you very much!

Best wishes,

Jinchuan

tangjinchuan avatar Apr 27 '24 02:04 tangjinchuan

Hi @tangjinchuan Could you please capture callstack of the hang moment?

JablonskiMateusz avatar May 15 '24 14:05 JablonskiMateusz

This can be done e.g. by attaching debugger to the process: gdb /path/to/program/binary $(pidof <binary name>)

And telling it to provide backtrace (with bt command).

eero-t avatar May 15 '24 16:05 eero-t