Skip to content

FPGA Emulation Device segfaults on some autorun kernels #798

Open
@bjourne

Description

@bjourne

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions