| 3670 | #endif |
| 3671 | |
| 3672 | void testSetProgramReleaseCallback(void) |
| 3673 | { |
| 3674 | #if CL_HPP_TARGET_OPENCL_VERSION >= 220 |
| 3675 | cl_program program = make_program(0); |
| 3676 | int user_data = 0; |
| 3677 | |
| 3678 | clSetProgramReleaseCallback_StubWithCallback(clSetProgramReleaseCallback_set); |
| 3679 | clReleaseProgram_ExpectAndReturn(program, CL_SUCCESS); |
| 3680 | |
| 3681 | cl::Program prog(program); |
| 3682 | |
| 3683 | prog.setReleaseCallback(test_program_release_callback, &user_data); |
| 3684 | #endif |
| 3685 | } |
| 3686 | |
| 3687 | void testSetProgramSpecializationConstantScalar(void) |
| 3688 | { |
nothing calls this directly
no test coverage detected