| 108 | } |
| 109 | |
| 110 | Status Padding::Compile(const CreationContext& creation_context) { |
| 111 | const auto code = |
| 112 | GetPaddingCode(definition_.src_tensors[0], definition_.dst_tensors[0], |
| 113 | definition_.precision, linked_operations_); |
| 114 | return creation_context.cache->GetOrCreateCLKernel( |
| 115 | code, "main_function", *creation_context.context, |
| 116 | *creation_context.device, &kernel_); |
| 117 | } |
| 118 | |
| 119 | Status Padding::BindArguments() { |
| 120 | kernel_.ResetBindingCounter(); |
nothing calls this directly
no test coverage detected