Skip to content

cl: fix error in cl-api-create-program-with-binary

Eric Guo requested to merge EricGuo/piglit:main into main

Reverse the order of tests to make sure clBuildProgram run before clCreateKernel. According to spec 5.8.4. Building Program Executables, clBuildProgram must be called for program created using clCreateProgramWithSource, clCreateProgramWithIL or clCreateProgramWithBinary to build the program executable for one or more devices associated with program.

Signed-off-by: Eric Guo eric.guo@nxp.com

Merge request reports