Forum Discussion
Altera_Forum
Honored Contributor
9 years agoCL_INVALID_BINARY for larger design
I'm working on a kernel with scalable unrolling factor on aocl 16.0.2.222 for a Nallatech p385a_sch_ax115 board. Synthesis and hardware generation succeed for a range of unrolling factors and .aocx f...
Altera_Forum
Honored Contributor
9 years agoI can think of two reason for CL_INVALID_BINARY:
1. You are compiling against an incorrect BSP or board. 2. The function in your host code that reads the kernel file is somehow corrupting it. If your problem depends on the size of the binary file, it is quite likely that the cause is the kernel reading function. Are you properly allocating memory using malloc to read the kernel file? Have you made sure that the memory buffer for the kernel is large enough?