polasz
New Contributor
3 years agoAOC compile emulation error
Hi everyone,
I am using Quartus Prime Pro version 20.4 and am trying to build for emulation, when I build the hello world example via:
aoc -march=emulator -v hello.cl
I get the output:
aoc: Selected target board package
aoc: Selected target board
Error: OpenCL kernel compilation FAILED
And that's it, there is a ioc.log file created but it is empty and I have set CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA environment variable, but I think that's only needed for running anyway.
Has anyone seen this before, and/or is there a way to get more detailed error reporting from aoc to try and figure out what the error is? For instance is it possible to view what commands are being issued by the aoc wrapper script?
Thanks,
Nick