5.6 Building a program executable

When you have created a program object, you must build a program executable from the contents of the program object. Use the clBuildProgram() function to build your executable.

Compile all kernels in the program object:
err = clBuildProgram(program, 1, &device_id, "", NULL, NULL);
if (err != CL_SUCCESS)
{
       Cleanup();
       return 1;
}
Non-ConfidentialPDF file icon PDF versionARM 100614_0300_00_en
Copyright © 2012, 2013, 2015, 2016 ARM. All rights reserved.