MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CLHPP / clSetProgramReleaseCallback_set

Function clSetProgramReleaseCallback_set

tests/test_openclhpp.cpp:3656–3669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3654
3655#if CL_HPP_TARGET_OPENCL_VERSION >= 220
3656static 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
3672void testSetProgramReleaseCallback(void)

Callers

nothing calls this directly

Calls 1

make_programFunction · 0.85

Tested by

no test coverage detected