MCPcopy Create free account
hub / github.com/apache/singa / GetAllocatedMem

Method GetAllocatedMem

include/singa/core/device.h:81–81  ·  view source on GitHub ↗

Return the size (bytes) of memory in use TODO(wangwei) override this function for all devices.

Source from the content-addressed store, hash-verified

79 /// Return the size (bytes) of memory in use
80 /// TODO(wangwei) override this function for all devices.
81 virtual size_t GetAllocatedMem() { return 0u; }
82
83 /// Copy data within or across devices.
84 virtual void CopyDataToFrom(Block* dst, Block* src, size_t nBytes,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected