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

FPGA Emulation Device segfaults on some autorun kernels #798

Open
bjourne opened this issue Jan 29, 2025 · 0 comments
Open

FPGA Emulation Device segfaults on some autorun kernels #798

bjourne opened this issue Jan 29, 2025 · 0 comments

Comments

@bjourne
Copy link

bjourne commented Jan 29, 2025

MWE:

__attribute__((max_global_work_dim(0)))
__attribute__((autorun))
void kernel mono() { }
kernel void entry() { }

If you compile this OpenCL program with the Intel(R) FPGA Emulation Device and call the entry kernel the program will segfault. It appears that the autorun annotation is mishandled. If you add while (1) { } to the body of mono or if you remove the autorun annotation the segfault disappears. Tested with the 2024.18.7.0.11_160000 version of the driver.

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

1 participant