| 3654 | |
| 3655 | #if CL_HPP_TARGET_OPENCL_VERSION >= 220 |
| 3656 | static cl_int clSetProgramReleaseCallback_set( |
| 3657 | cl_program program, |
| 3658 | void (CL_CALLBACK * pfn_notify)(cl_program program, void * user_data), |
| 3659 | void *user_data, |
| 3660 | int num_calls) |
| 3661 | { |
| 3662 | (void) user_data; |
| 3663 | (void) num_calls; |
| 3664 | |
| 3665 | TEST_ASSERT_EQUAL_PTR(make_program(0), program); |
| 3666 | TEST_ASSERT_EQUAL_PTR(pfn_notify, test_program_release_callback); |
| 3667 | |
| 3668 | return CL_SUCCESS; |
| 3669 | } |
| 3670 | #endif |
| 3671 | |
| 3672 | void testSetProgramReleaseCallback(void) |
nothing calls this directly
no test coverage detected