Intel Software: Intel FPGA SDK for OpenCL

Type: Answers

Area: OpenCL


Last Modified: August 01, 2017
Version Found: v16.1
Version Fixed: v18.0
Bug ID: FB: 480870;

why my kernel run time/program AOCX showing Failed clCreateProgramWithBinary code -42 when utilizing large local memory in the code?

Description

This error happens if the local memory space usage used is over 128 MB.

Workaround/Fix

The local memory space is defined as 128, users must ensure the local memory usage is less than 128 as currently the compiler does not flag any warning if memory use out of range.