Forum Discussion
Altera_Forum
Honored Contributor
9 years agoopenCL example on yocto image on cyclone 5 SOC
I've been trying to run vector_add opencl exmaple to run on cyclone 5 SOC. It is perfectly working if I use default linux image given in Intel FPGA SDK for OpenCL. As default linux is compiled using ...
Altera_Forum
Honored Contributor
9 years agoI have had this exact same problem! I've been trying to get custom Linux working with OpenCL for a while now and it looks like I've taken a similar approach to you. Unfortunately I haven't got anything functional, but maybe together we can figure this thing out.
I have noticed 3 consistent failure modes: 1. System hangs on `insmod` (like you) 2. I can insert the driver, but running the host program (eg. ./host) fails and gives `Unhandled fault: imprecise external abort` 3. I can successfully run my host code, but there is a 1s delay before the kernel returns. (I believe I have only got kernel 4.3 with Yocto jethro to do this, but I would have to double check) Have you seen either of these other failure modes?