| 281 | } |
| 282 | |
| 283 | Kernel 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 |