Developer Guide for Intel® SDK for OpenCL™ Applications 2017
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-BF2F5D4E-9674-45A4-957E-EBCEF1D25053
Visible to Intel only — GUID: GUID-BF2F5D4E-9674-45A4-957E-EBCEF1D25053
Output Validation
Kernel Development Framework enables you to set a reference point for your OpenCL™ kernel output variable. The Kernel Development Framework validates the output variable after each kernel execution. The validation results appear in the Run report.
You can compare the output variable with its reference in the Image and Buffer viewers.
To validate output variables:
- In the Assigned Variables view, click the Validation Reference column and choose a validation reference.
- Check the Enable output validation checkbox and run the kernel.
- For each validation reference you set in step 1, you can see the results of the validation in the CodeBuilder Run Results window, in the Output Validation section.
- For a Validation failed result, click Validation failed link to view the output variable side-by-side with the reference variable.
- Сlick the Next/Prev buttons to file the exact pixels and see their values: