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)
This problem has been fixed in Intel® FPGA SDK for OpenCL™ version 20.1.