HKim27
Occasional Contributor
7 years agoPAC Arria 10 GX, reconfiguration not working on 1.2PV
Hi, all.
I'm using a pac_a10 board and recently upgraded it to 1.2 production version.
Since then, reprogramming (partial reconfiguration) is not working.
Scenario here:
- I programmed the device with hello_world example.
aocl program acl0 $OPAE_PLATFORM_ROOT/opencl/hello_world.aocx- I ran vector_add example.
cd exm_opencl_vector_add_x64_linux/vector_add
make
cp $OPAE_PLATFORM_ROOT/opencl/vector_add.aocx bin
./bin/host- What I expect is, although the device is programmed with hello_world.aocx, it will be reprogrammed with vector_add.aocx and run smoothly, like the following sample output from https://www.intel.com/content/altera-www/global/en_us/index/documentation/fvf1521490619217.html#nms1523294913946
Initializing OpenCL
Platform: Intel(R) FPGA SDK for OpenCL(TM)
Using 1 device(s)
pac_a10 : PAC Arria 10 Platform (pac_a10_f200000)
Using AOCX: vector_add.aocx
Reprogramming device [0] with handle 1
Launching for device 0 (1000000 elements)
Time: 8.046 ms
Kernel time (device 0): 3.711 ms
Verification: PASSInstead, however, it fails with the following error.
Initializing OpenCL
Platform: Intel(R) FPGA SDK for OpenCL(TM)
Using 1 device(s)
pac_a10 : PAC Arria 10 Platform (pac_a10_eb00000)
Using AOCX: vector_add.aocx
Context callback: Specified kernel was not built for any devices
ERROR: CL_INVALID_KERNEL_NAME
Location: host/src/main.cpp:169
Failed to create kernel
Segmentation fault (core dumped)- If I program the device with vector_add.aocx and run vector_add example, it runs well. So, my guess is that reprogramming is not working.
Anybody has some idea on this?