Commit 111ef1f8 authored by Kazutomo Yoshii's avatar Kazutomo Yoshii
Browse files

documents for CPU/GPU

parent bf51080e
......@@ -16,6 +16,12 @@ CXXFLAGS = -Wall -O2 -g -std=gnu++0x -DENABLE_INTELGPU
LDFLAGS = -lOpenCL
endif
ifneq (,$(SDK))
CXXFLAGS += -I$(SDK)/include
LDFLAGS += -L$(SDK)/lib64
endif
#LDFLAGS = $(shell aocl link-config) -lnalla_pcie_mmd
#LIBC214 = -L/opt/glibc-2.14/lib
#LDFLAGS = $(shell aocl link-config) $(LIBC214)
......
......@@ -7,9 +7,36 @@ a quick functional verification. The following examples are targetted
to the JLSE environment but with a small modification, this clwrap
demo works in other environment.
* Emulator
* Check out
login $ git clone https://xgitlab.cels.anl.gov/reform/clwrap.git && cd clwrap
* Intel GPU/CPU
login $ make
login $ ./testclwrap
[Platforms]
0: Portable Computing Language
1: Intel Gen OCL Driver [selected]
2: Clover
3: Experimental OpenCL 2.1 CPU Only Platform
[Devices]
Device0: Intel(R) HD Graphics Kabylake Desktop GT1.5 [selected]
0,1,0 1,1,1 2,1,0 3,1,1 4,1,0 5,1,1 6,1,0 7,1,1
* For JLSE
login $ make SDK=/soft/libraries/intel/system_studio_2019/opencl/SDK
login $ LD_LIBRARY_PATH=/soft/libraries/intel/system_studio_2019/opencl/SDK/lib64 ./testclwrap
[Platforms]
0: Intel(R) CPU Runtime for OpenCL(TM) Applications [selected]
[Devices]
Device0: Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz [selected]
0:0,0 1:1,1 2:2,0 3:3,1 4:4,0 5:5,1 6:6,0 7:7,1
* Emulator (Intel FPGA SDK for OpenCL)
login $ source /soft/fpga/altera/pro/16.0.2.222/aoc-env.sh
login $ make
login $ ./run-alteraemu.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment