MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getKernel

Function getKernel

src/backend/opencl/compile_module.cpp:283–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283Kernel getKernel(const Module &mod, const string &nameExpr,
284 const bool sourceWasJIT) {
285 UNUSED(sourceWasJIT);
286 return {nameExpr, &mod.get(), cl::Kernel(mod.get(), nameExpr.c_str())};
287}
288
289} // namespace common
290} // namespace arrayfire

Callers

nothing calls this directly

Calls 2

KernelClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected