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

Function NextPowerOfTwo64

tensorflow/core/lib/core/bits.h:101–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101inline uint64 NextPowerOfTwo64(uint64 value) {
102 int exponent = Log2Ceiling(value);
103 DCHECK_LT(exponent, std::numeric_limits<uint64>::digits);
104 return 1LL << exponent;
105}
106
107} // namespace tensorflow
108

Callers

nothing calls this directly

Calls 1

Log2CeilingFunction · 0.70

Tested by

no test coverage detected