guide for install intel opencl

1.install centos7.3
2.install quartus_prime_complete : quartus, ocl sdk for fpga, component
3.environment variable

export ALTERAOCLSDKROOT="/home/wchao/intelFPGA_pro/17.0/hld"
export QSYS_ROOTDIR="/home/wchao/intelFPGA_pro/17.0/qsys/bin"
export PATH=$PATH:/home/wchao/intelFPGA_pro/17.0/quartus/bin
export PATH=$PATH:$INTELFPGAOCLSDKROOT/bin
#recommend full path for LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wchao/intelFPGA_pro/17.0/hld/host/linux64/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wchao/intelFPGA_pro/17.0/hld/board/a10_ref/linux64/lib
export QUARTUS_ROOTDIR_OVERRIDE=/home/wchao/intelFPGA_pro/17.0/quartus
export QSYS_ROOTDIR=/home/wchao/intelFPGA_pro/17.0/quartus/sopc_builder/bin
export INTELFPGAOCLSDKROOT=/home/wchao/intelFPGA_pro/17.0/hld
export AOCL_BOARD_PACKAGE_ROOT=/home/wchao/intelFPGA_pro/17.0/hld/board/a10_ref
4.
[wchao@localhost hld]$ su root
[root@localhost hld]# aocl install
5.
aocl diagnose
#-----------------------------------------------
#not required
6.install source code
yum install gcc
sudo yum install kernel-devel

posted @ 2018-01-05 10:50  wordchao  阅读(300)  评论(0编辑  收藏  举报