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

Method RoundUp

tensorflow/core/common_runtime/pool_allocator.h:138–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136class NoopRounder : public RoundUpInterface {
137 public:
138 size_t RoundUp(size_t num_bytes) override { return num_bytes; }
139};
140
141// Power of 2 rounder: rounds up to nearest power of 2 size.

Callers 2

AllocateRawMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36