Forum Discussion
PSath2
New Contributor
6 years agoDevCloud: AOC Unable to compile kernels for device for any of the FPGA nodes: instantiates undefined entity "board" (reopened issue in new forum)
Ask a question about a DevCloud FPGA resource in the DevCloud forum, get feedback over a week and then randomly locked and redirected elsewhere. Guess the other forum's first-tier support staff was t...
MEIYAN_L_Intel
Frequent Contributor
6 years agoHi,
I had done the following steps to compile with OpenCL tool in Intel DevCloud:
1. Enter devloud:
ssh devcloud
2. Enter the node with pac card:
qsub -q batch@v-qsvr-fpga -I -l nodes=s001-n137:ppn=2
3. Source the OpenCL:
source /opt/a10/inteldevstack/init_env.sh
source /opt/a10/inteldevstack/intelFPGA_pro/hld/init_opencl.sh
4. make a directory:
eg: mkdir vector
5. add a file for vector_add:
vi vector.cl
6. Compile the example with the command below:
aoc -march=emulator -v vector_add/vector.cl -o vector_add/vector.aocx
Thanks