Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCL JIT compiler hangs #729

Open
tangjinchuan opened this issue Apr 27, 2024 · 2 comments
Open

OpenCL JIT compiler hangs #729

tangjinchuan opened this issue Apr 27, 2024 · 2 comments

Comments

@tangjinchuan
Copy link

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

@JablonskiMateusz
Copy link
Contributor

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

@eero-t
Copy link

eero-t commented May 15, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants