- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Tags:
- OpenCL™
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page