MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetGridSize

Method GetGridSize

tensorflow/lite/delegates/gpu/cl/kernels/conv_buffer.cc:238–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238int3 ConvBuffer::GetGridSize() const {
239 const int grid_x = IntegralDivideRoundUp(dst_[0]->Width(), x_elements_);
240 const int grid_y = IntegralDivideRoundUp(dst_[0]->Height(), y_elements_);
241 const int grid_z = dst_[0]->Depth();
242 return int3(grid_x, grid_y, grid_z);
243}
244
245Status ConvBuffer::Tune(const TuningParameters& params) {
246 RETURN_IF_ERROR(BindArguments());

Callers

nothing calls this directly

Calls 4

WidthMethod · 0.80
HeightMethod · 0.80
DepthMethod · 0.80
IntegralDivideRoundUpFunction · 0.50

Tested by

no test coverage detected