DongWang-BJTU
Occasional Contributor
7 years agoPossible bug in FPGA OpenCL runtime for v18.1.0 (verified with a10_ref)
I am currently using an a10 reference board, and I have recently upgraded to v18.1.0. I recompiled the official helloword example, and found out the host program crashed like follows,
So, I digged into the file ./common/src/AOCLUtils/opencl.cpp, and printed out the value of variable num_devices for the clGetDeviceIDs function, and it always show a value of "33".
Therefore, in the host program of the example, I changed the device num to 32 as follow
This time, it works correctly:
Is this possibly a bug ? I am using Ubuntu 14.04, and there is no such issue with the DE5net board and v18.1 std version runtime.