DE5a-Net OpenCL
www.terasic.com
March 29, 2017
2
CONTENTS
CHAPTER 1
DE5A-NET OPENCL
.......................................................................................................................... 3
1.1
S
YSTEM
R
EQUIREMENT
............................................................................................................................................ 3
1.2
O
PEN
CL
A
RCHITECTURE
.......................................................................................................................................... 4
CHAPTER 2
OPENCL FOR WINDOWS
................................................................................................................ 5
2.1
S
OFTWARE
I
NSTALLATION
......................................................................................................................................... 5
2.2
O
PEN
CL
L
ICENSE
I
NSTALLATION
.............................................................................................................................. 7
2.3
C
ONFIGURE
............................................................................................................................................................... 8
2.4
B
OARD
S
ETUP
......................................................................................................................................................... 11
2.5
O
PEN
CL
E
NVIRONMENT
V
ERIFY AND
F
LASH
C
V
P .................................................................................................. 12
2.6
C
OMPILE AND
T
EST
O
PEN
CL
P
ROJECT
.................................................................................................................... 16
CHAPTER 3
OPENCL FOR LINUX
....................................................................................................................... 19
3.1
S
OFTWARE
I
NSTALLATION
....................................................................................................................................... 19
3.2
O
PEN
CL
L
ICENSE
I
NSTALLATION
............................................................................................................................ 22
3.3
C
ONFIGURE
............................................................................................................................................................. 22
3.4
B
OARD
S
ETUP
......................................................................................................................................................... 23
3.5
O
PEN
CL
E
NVIRONMENT
V
ERIFY AND
F
LASH
C
V
P .................................................................................................. 24
3.6
C
OMPILE AND
T
EST
O
PEN
CL
P
ROJECT
.................................................................................................................... 28