| 118 | } |
| 119 | |
| 120 | Status MaxUnpooling::Compile(const CreationContext& creation_context) { |
| 121 | const bool manual_boundary_check = |
| 122 | definition_.src_tensors[0].storage_type == TensorStorageType::BUFFER || |
| 123 | creation_context.device->IsAdreno3xx(); |
| 124 | const auto code = GetMaxUnoolingKernelCode( |
| 125 | definition_.src_tensors[0], definition_.src_tensors[1], |
| 126 | definition_.dst_tensors[0], definition_.precision, linked_operations_, |
| 127 | manual_boundary_check); |
| 128 | return creation_context.cache->GetOrCreateCLKernel( |
| 129 | code, "main_function", *creation_context.context, |
| 130 | *creation_context.device, &kernel_); |
| 131 | } |
| 132 | |
| 133 | Status MaxUnpooling::BindArguments() { |
| 134 | kernel_.ResetBindingCounter(); |
nothing calls this directly
no test coverage detected