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

Function IntegralDivideRoundUp

tensorflow/lite/delegates/gpu/common/util.h:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25// @param divisor must be greater than zero
26template <typename T, typename N>
27T IntegralDivideRoundUp(T n, N divisor) {
28 const T div = static_cast<T>(divisor);
29 const T q = n / div;
30 return n % div == 0 ? q : q + 1;
31}
32
33template <>
34inline uint3 IntegralDivideRoundUp(uint3 n, uint3 divisor) {

Callers 15

ConvertToPHWO4I4Function · 0.70
Get3DSizeForPHWO4I4Function · 0.70
ConvertToPIOHW4Function · 0.70
ConvertToPHWC4Function · 0.70
ConvertToPHWC4HalfFunction · 0.70
ConvertFromPHWC4Function · 0.70
ConvertFromPHWC4HalfFunction · 0.70
TESTFunction · 0.70
AlignByNFunction · 0.70
dMethod · 0.50
CompileMethod · 0.50
api.ccFile · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.56