| 3345 | } |
| 3346 | |
| 3347 | inline void KernelInstantiation_impl::build_kernel() { |
| 3348 | Program_impl const& program = _kernel._program; |
| 3349 | |
| 3350 | std::string instantiation = _kernel._name + _template_inst; |
| 3351 | |
| 3352 | std::string log, ptx, mangled_instantiation; |
| 3353 | std::vector<std::string> linker_files, linker_paths; |
| 3354 | detail::instantiate_kernel(program.name(), program.sources(), instantiation, |
| 3355 | _options, &log, &ptx, &mangled_instantiation, |
| 3356 | &linker_files, &linker_paths); |
| 3357 | |
| 3358 | _cuda_kernel->set(mangled_instantiation.c_str(), ptx.c_str(), linker_files, |
| 3359 | linker_paths); |
| 3360 | } |
| 3361 | |
| 3362 | Kernel_impl::Kernel_impl(Program_impl const& program, std::string name, |
| 3363 | jitify::detail::vector<std::string> options) |
no test coverage detected