-------------------------------------- 08-11-17
 1161  aoc --list-boards
 1172  aoc openarc_kernel.cl -o openarc_kernel_p385_hpc_d5PCIe385n.aocx --board p385_hpc_a7
Running aocx FPGA executable
Need to know the linking command
[umunipala@newark matmul]$ aocl linkflags
-L/opt/altera/15.0/hld/board/nalla_pcie/linux64/lib -L/opt/altera/16.1/standard/hld/host/linux64/lib -Wl,--no-as-needed -lalteracl -lalterahalmmd -lnalla_pcie_mmd -lelf
Those are needed only to generate the executable.
Running:
 env CL_CONTEXT_EMULATOR_DEVICE_ALTERA=1 ./matmul_ACC
 This uses the fpga executable (aocx file) in the current library.
HELP
https://www.altera.com/documentation/mwh1391807309901.html#ewa1435154782031