Acl_util.h💯 safe_memcpy: assertion `0 && "program terminated, invalid memory access"' failed. Aborted

while compiling the host code specificly this line of code:
cl_program program = clCreateProgramWithBinary(context, 1, &fpga_device, &length, (const unsigned char**)&binary, NULL, NULL);

I got this error:

cl_util.h:100: safe_memcpy: Assertion `0 && "Program terminated, invalid memory access"' failed.
Aborted

How to fix it pleas

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.