OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

Hello, I've been using Intel FPGA Arria 10 (Mustang-F100-A10-R10) board for running OpenVINO. Here, I could run the a10_vision_bitstreams from OpenVINO.

IJais
Beginner
1,467 Views

 However, I couldn't successfully run the OpenCL examples: 'Hello_world' and ' vector_add' programs using the same setup for OpenVINO.

The error messages for running the vector_add executable are shown below.

 Greatly appreciated your suggestions...

Thanks,

Ishu

 

root@splineai:/home/appl/quarts/fpga_support_files# aocl install

Do you want to install /opt/altera/aocl-pro-rte/aclrte-linux64/board/hddlf_1150_sg1? [y/n] y

aocl install: Running install from /opt/altera/aocl-pro-rte/aclrte-linux64/board/hddlf_1150_sg1/linux64/libexec

Looking for kernel source files in /lib/modules/4.13.0-45-generic/build

Using kernel source files from /lib/modules/4.13.0-45-generic/build

Building driver for BSP with name hddlf_1150_sg1

make: Entering directory '/usr/src/linux-headers-4.13.0-45-generic'

 CC [M] /tmp/opencl_driver_fgui0k/aclpci_queue.o

 CC [M] /tmp/opencl_driver_fgui0k/aclpci.o

 CC [M] /tmp/opencl_driver_fgui0k/aclpci_fileio.o

 CC [M] /tmp/opencl_driver_fgui0k/aclpci_dma.o

 CC [M] /tmp/opencl_driver_fgui0k/aclpci_pr.o

 CC [M] /tmp/opencl_driver_fgui0k/aclpci_cmd.o

 LD [M] /tmp/opencl_driver_fgui0k/aclpci_hddlf_1150_sg1_drv.o

 Building modules, stage 2.

 MODPOST 1 modules

 CC   /tmp/opencl_driver_fgui0k/aclpci_hddlf_1150_sg1_drv.mod.o

 LD [M] /tmp/opencl_driver_fgui0k/aclpci_hddlf_1150_sg1_drv.ko

make: Leaving directory '/usr/src/linux-headers-4.13.0-45-generic'

 

===============================================

 

root@splineai:/home/appl/quarts/fpga_support_files# aocl diagnose

--------------------------------------------------------------------

Device Name:

acl0

 

Package Pat:

/opt/altera/aocl-pro-rte/aclrte-linux64/board/hddlf_1150_sg1

 

Vendor: Intel(R) Corporation

 

Phys Dev Name Status  Information

 

aclhddlf_1150_sg10Passed  Arria 10 Pyramid Lake Platform (aclhddlf_1150_sg10)

            PCIe dev_id = 2494, bus:slot.func = 02:00.00, Gen3 x8

            FPGA temperature = 46.4297 degrees C.

 

DIAGNOSTIC_PASSED

--------------------------------------------------------------------

 

Call "aocl diagnose <device-names>" to run diagnose for specified devices

Call "aocl diagnose all" to run diagnose for all devices

 

===================================================

appl@splineai:~/workspace/exm_opencl_vector_add_x64_linux/vector_add$ bin/host 

Initializing OpenCL

Platform: Intel(R) FPGA SDK for OpenCL(TM)

Using 1 device(s)

 a10gx_1ddr : Arria 10 Pyramid Lake Platform (aclhddlf_1150_sg10)

Using AOCX: vector_add.aocx

Context callback: Specified kernel was not built for any devices

ERROR: CL_INVALID_KERNEL_NAME 

Location: host/src/main.cpp:169

Failed to create kernel

Segmentation fault (core dumped)

 

 

 

0 Kudos
1 Reply
Fawaz_J_Intel
Employee
230 Views

Hello Ishu,

Thank you for contacting us via forum.

I will investigate more about your issue and send you the feedback as I get it.

 

Thanks

Reply