MCPcopy Create free account
hub / github.com/OpenPPL/ppl.nn / GetBufferedBytes

Method GetBufferedBytes

src/ppl/nn/utils/stack_buffer_manager.h:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 ppl::common::RetCode Realloc(uint64_t bytes, BufferDesc* buffer) override;
37 void Free(BufferDesc* buffer) override;
38 uint64_t GetBufferedBytes() const override {
39 return buffered_bytes_;
40 }
41
42private:
43 struct BufferAddrAndSize {

Callers 7

~RuntimeArmDeviceMethod · 0.45
~RuntimeX86DeviceMethod · 0.45
~RuntimeRiscvDeviceMethod · 0.45
~LlmHostDeviceMethod · 0.45
~BufferedCudaDeviceMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36