Forum Discussion
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