Mar 1, 2019

Reviving Aria 10 work on Oswald03

xxk@oswald03:~/gamesskernel/openarcOS/test/examples/openarc/matmul/bin$ env CL_CONTEXT_E
MULATOR_DEVICE_INTELFPGA=1 ./matmul_ACC
CPU Elapsed time = 0.392515 sec
Accelerator Elapsed time = 22.417378 sec
Verification Successful err = 0.000000e+00



On Oswald >
matmul example
change the makefile

 16:52:09 udk@oswald03:~/gamesskernel/openarcOS/test/examples/openarc/matmul/bin$ ls
__all_sources.cl   matmul_ACC         openarc_kernel_EmulatorDeviceEmulatedDevice.aocx
binBuilder_opencl  openarc_kernel.cl  Timer
16:53:03 udk@oswald03:~/gamesskernel/openarcOS/test/examples/openarc/matmul/bin$ cd ..
16:53:06 udk@oswald03:~/gamesskernel/openarcOS/test/examples/openarc/matmul$ cd cetus_output/
16:53:31 udk@oswald03:~/gamesskernel/openarcOS/test/examples/openarc/matmul/cetus_output$ ls
matmul.cpp  openarc_kernel  openarc_kernel.aoco  openarc_kernel.aocx  openarc_kernel.cl
16:53:32 udk@oswald03:~/gamesskernel/openarcOS/test/examples/openarc/matmul/cetus_output$ aoc -v openarc_kernel.cl -o ../bin/openarc_kernel_p510t_sch_ax115PCIe510n.aocx --board p510t_sch_ax115
Warning: Please use -board= instead of --board
aoc: Environment checks are completed successfully.
aoc: If necessary for the compile, your BAK files will be cached here: /var/tmp/aocl/
You are now compiling the full flow!!
aoc: Selected target board p510t_sch_ax115
aoc: Running OpenCL parser....
aoc: OpenCL parser completed successfully.
aoc: Optimizing and doing static analysis of code...
aoc: Linking with IP library ...
Checking if memory usage is larger than 100%
aoc: First stage compilation completed successfully.
Compiling for FPGA. This process may take a long time, please be patient.

Followers