Forum Discussion
Hi hareesh
right, they are same issues, but a little different. In the beginning both arria10 and stratix10 have -42 (CL_INVALID_BINARY) error, but after i tried modified work group size(decrease), I found arria10 can run with slow execution time. However, stratix10 was still fail in any conditions. Could you help check this issue?
attached is my code
By the way, I have another question. In my code, if i want to modify lambda function from h.parallel_for to h.single_task, can you teach how to modify it? Cause i wanna run it on fpga hw.
If it can be modified to h.single_task, I need to use nd_item<1> class, but it seems h.single_task cannot pass parameter. So how can i modify it?
- hareesh3 years ago
Frequent Contributor
HI @Wei-Chih,
Did you tried this
BSP loaded on device was pac_s10_usm, designs compiled for pac_s10.
To switch BSPs:
aocl initialize acl0 pac_s10_usm oraocl initialize acl0 pac_s10See for further details: https://software.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/prog...