MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CTS / BuildKernelFn

Function BuildKernelFn

test_conformance/math_brute_force/mad_double.cpp:26–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace {
25
26cl_int BuildKernelFn(cl_uint job_id, cl_uint thread_id UNUSED, void *p)
27{
28 BuildKernelInfo &info = *(BuildKernelInfo *)p;
29 auto generator = [](const std::string &kernel_name, const char *builtin,
30 cl_uint vector_size_index) {
31 return GetTernaryKernel(kernel_name, builtin, ParameterType::Double,
32 ParameterType::Double, ParameterType::Double,
33 ParameterType::Double, vector_size_index);
34 };
35 return BuildKernels(info, job_id, generator);
36}
37
38} // anonymous namespace
39

Callers

nothing calls this directly

Calls 2

GetTernaryKernelFunction · 0.85
BuildKernelsFunction · 0.85

Tested by

no test coverage detected