Article ID: 000073887 Content Type: Troubleshooting Last Reviewed: 08/07/2020

Why does OpenCL™ API clGetKernelArgInfo() run fail?

Environment

    Intel® Quartus® Prime Pro Edition
    Intel® FPGA SDK for OpenCL™ Pro Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

Due to a problem in the Intel® FPGA SDK for OpenCL™ software version 17.1.1, using the clGetKernelArgInfo() OpenCL™ API in the host code, an error message like the following may occur.

./program_and_kernel 
Build log :Trivial build
The CL_PROGRAM_NUM_DEVICES is 1
The number of kernel args is 3
The of CL_KERNEL_FUNCTION_NAME is adder
%
Cannot get arg info: -19
The of CL_KERNEL_ARG_TYPE_NAME is (null)
Cannot get arg info: -19
The of CL_KERNEL_ARG_NAME is (null)

Resolution

This problem has been fixed in Intel® FPGA SDK for OpenCL™ version 20.1.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1