| 96 | } |
| 97 | |
| 98 | Status Upsample::Compile(const CreationContext& creation_context) { |
| 99 | const auto code = |
| 100 | GetUpsampleCode(definition_.src_tensors[0], definition_.dst_tensors[0], |
| 101 | definition_.precision, linked_operations_); |
| 102 | return creation_context.cache->GetOrCreateCLKernel( |
| 103 | code, "main_function", *creation_context.context, |
| 104 | *creation_context.device, &kernel_); |
| 105 | } |
| 106 | |
| 107 | Status Upsample::BindArguments() { |
| 108 | kernel_.ResetBindingCounter(); |
nothing calls this directly
no test coverage detected