Closed ndcontini closed 1 year ago
It seems you execute the benchmark with an emulation bitstream but the host code selects a hardware device for execution.
To run the benchmark in emulation with the Xilinx tools, you need to replace the CL_CONTEXT_EMULATOR_DEVICE=1
environment variable (which is Intel-only) with XCL_EMULATION_MODE=sw_emu
.
Note, that you may need to manually select the emulation platform and device if the benchmark still tries to use the hardware device.
To run the benchmark in hardware instead, you additionally need to synthesize the hardware design: make stream_kernels_single_xilinx
. Building the hardware design may take several hours.
Thank you for pointing out XCL_EMULATION_MODE
to use. The emulation now runs, however it seems to fail some tests. Either way, we at least got the test running and can mark this as resolved.
I am trying to get one of these benchmarks working on the Noctua2 system. When I build the emulated kernel and attempt to run, I get the following output:
These are the steps I'm taking to build and run the benchmark:
Software versions: XRT: v2.12 Vitis: v21.2 Device Platform: u280_xdma_201920_3_3246211 HPCC_FPGA: v0.5.1
It seems as if the xclbin is not being generated correctly. Am I missing a build step or is this a bug in the build?