Knowledge Base Article

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.

Resolution

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. 

Updated 5 days ago
Version 3.0
No CommentsBe the first to comment