I have installed the oneAPI Base Toolkit on my machine (Ubuntu 22.10) and I managed to get the emulated FPGA device. I tried to run on it after configuring the FPGA configuration file in TornadoVM but it results in error. The error is because in the OCLCodeCache the HLS command is created assuming the format of the older HLS compiler aoc, while now it uses the aocl-ioc64. For example:
Describe the bug
I have installed the oneAPI Base Toolkit on my machine (Ubuntu 22.10) and I managed to get the emulated FPGA device. I tried to run on it after configuring the FPGA configuration file in TornadoVM but it results in error. The error is because in the
OCLCodeCache
the HLS command is created assuming the format of the older HLS compileraoc
, while now it uses theaocl-ioc64
. For example:The wrong command is:
while it should be:
How To Reproduce
To reproduce, you will have to install oneAPI Base Toolkit on a machine. I did this by following these steps:
You should see all devices, including CPU, GPU, FPGAs (emulation mode).
Now, assuming you have built the latest
develop
branch of TornadoVM:Configure your FPGA configuration file (in directory
<mydir>/intel-fpga.conf
with the following content:Run an example, such as DFT. In the following command the device indexed by
0:3
is the FPGA emulation device:This throws the following error which is related to the HLS compilation:
Expected behavior
A clear and concise description of what you expected to happen.
Computing system setup (please complete the following information):