Home
last modified time | relevance | path

Searched refs:MemoryManager (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dmemory_manager.cc30 size_t MemoryManager::GetCommonAlignSize(size_t input_size) { in GetCommonAlignSize()
34 size_t MemoryManager::GetCommunicationAlignSize(size_t input_size) { in GetCommunicationAlignSize()
38 void MemoryManager::MallocSomasDynamicMem(const session::KernelGraph &graph) { in MallocSomasDynamicMem()
77 uint8_t *MemoryManager::MallocOutputMem(const AnfNodePtr &node, size_t index, MemType type, size_t … in MallocOutputMem()
118 uint8_t *MemoryManager::MallocWorkSpaceMem(const AnfNodePtr &node, size_t index, MemType type, size… in MallocWorkSpaceMem()
126 uint8_t *MemoryManager::MallocMem(MemType type, size_t size, const DeviceAddressPtr &address, uint3… in MallocMem()
139 uint8_t *MemoryManager::MallocDynamicMem(size_t size, bool communication_mem) { in MallocDynamicMem()
144 bool MemoryManager::MallocMemFromMemPool(const DeviceAddressPtr address, size_t size) { in MallocMemFromMemPool()
157 void *MemoryManager::MallocMemFromMemPool(size_t size) { in MallocMemFromMemPool()
164 void MemoryManager::FreeMemFromMemPool(const DeviceAddressPtr address) { in FreeMemFromMemPool()
[all …]
Dmemory_manager.h35 class MemoryManager : public MemHandler {
37 MemoryManager() = default;
38 virtual ~MemoryManager() = default;
/third_party/mindspore/mindspore/lite/micro/coder/allocator/
Dmemory_manager.cc29 int MemoryManager::AssignMemory(const std::vector<std::unique_ptr<OperatorCoder>> &nodes) { in AssignMemory()
38 void MemoryManager::StoreMembufListInfo(const std::unique_ptr<OperatorCoder> &node) { in StoreMembufListInfo()
48 size_t MemoryManager::GetAllocatedSize() const { in GetAllocatedSize()
55 void MemoryManager::AssignOutputs(const std::unique_ptr<OperatorCoder> &node) { in AssignOutputs()
72 void MemoryManager::ReleaseInputs(const std::unique_ptr<OperatorCoder> &node) { in ReleaseInputs()
97 void MemoryManager::AssignNewMembuf(Tensor *key, size_t size) { in AssignNewMembuf()
106 void MemoryManager::ReuseExistedMembuf(size_t index, Tensor *key, size_t size) { in ReuseExistedMembuf()
114 void MemoryManager::UpdataMembufInfo(const MembufPtr &membuf, Tensor *key) { in UpdataMembufInfo()
120 void MemoryManager::SplitMembuf(size_t index, size_t size) { in SplitMembuf()
136 void MemoryManager::MergeMembuf() { in MergeMembuf()
[all …]
Dmemory_manager.h44 class MemoryManager {
46 MemoryManager() = default;
47 ~MemoryManager() = default;
/third_party/node/deps/brotli/c/enc/
Dmemory.h26 typedef struct MemoryManager { struct
37 } MemoryManager; typedef
40 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func,
43 BROTLI_INTERNAL void* BrotliAllocate(MemoryManager* m, size_t n);
47 BROTLI_INTERNAL void BrotliFree(MemoryManager* m, void* p);
71 BROTLI_INTERNAL void BrotliWipeOutMemoryManager(MemoryManager* m);
Dmemory.c31 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, in BrotliInitMemoryManager()
52 void* BrotliAllocate(MemoryManager* m, size_t n) { in BrotliAllocate()
58 void BrotliFree(MemoryManager* m, void* p) { in BrotliFree()
62 void BrotliWipeOutMemoryManager(MemoryManager* m) { in BrotliWipeOutMemoryManager()
108 static void CollectGarbagePointers(MemoryManager* m) { in CollectGarbagePointers()
138 void* BrotliAllocate(MemoryManager* m, size_t n) { in BrotliAllocate()
149 void BrotliFree(MemoryManager* m, void* p) { in BrotliFree()
156 void BrotliWipeOutMemoryManager(MemoryManager* m) { in BrotliWipeOutMemoryManager()
Dbrotli_bit_stream.h38 MemoryManager* m, const uint32_t* histogram, const size_t histogram_total,
44 BROTLI_INTERNAL void BrotliStoreMetaBlock(MemoryManager* m,
55 BROTLI_INTERNAL void BrotliStoreMetaBlockTrivial(MemoryManager* m,
65 BROTLI_INTERNAL void BrotliStoreMetaBlockFast(MemoryManager* m,
Dbackward_references_hq.h26 BROTLI_INTERNAL void BrotliCreateZopfliBackwardReferences(MemoryManager* m,
33 BROTLI_INTERNAL void BrotliCreateHqZopfliBackwardReferences(MemoryManager* m,
81 MemoryManager* m, size_t num_bytes,
Dmetablock.h59 MemoryManager* m, MetaBlockSplit* mb) { in DestroyMetaBlockSplit()
74 BROTLI_INTERNAL void BrotliBuildMetaBlock(MemoryManager* m,
90 MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mask,
Dblock_splitter.h33 BROTLI_INTERNAL void BrotliDestroyBlockSplit(MemoryManager* m,
36 BROTLI_INTERNAL void BrotliSplitBlock(MemoryManager* m,
Dringbuffer.h66 static BROTLI_INLINE void RingBufferFree(MemoryManager* m, RingBuffer* rb) { in RingBufferFree()
73 MemoryManager* m, const uint32_t buflen, RingBuffer* rb) { in RingBufferInitBuffer()
106 MemoryManager* m, const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWrite()
/third_party/skia/third_party/externals/brotli/c/enc/
Dmemory.h26 typedef struct MemoryManager { struct
37 } MemoryManager; argument
40 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func,
43 BROTLI_INTERNAL void* BrotliAllocate(MemoryManager* m, size_t n);
47 BROTLI_INTERNAL void BrotliFree(MemoryManager* m, void* p);
71 BROTLI_INTERNAL void BrotliWipeOutMemoryManager(MemoryManager* m);
Dmemory.c31 MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, in BrotliInitMemoryManager()
52 void* BrotliAllocate(MemoryManager* m, size_t n) { in BrotliAllocate()
58 void BrotliFree(MemoryManager* m, void* p) { in BrotliFree()
62 void BrotliWipeOutMemoryManager(MemoryManager* m) { in BrotliWipeOutMemoryManager()
108 static void CollectGarbagePointers(MemoryManager* m) { in CollectGarbagePointers()
138 void* BrotliAllocate(MemoryManager* m, size_t n) { in BrotliAllocate()
149 void BrotliFree(MemoryManager* m, void* p) { in BrotliFree()
156 void BrotliWipeOutMemoryManager(MemoryManager* m) { in BrotliWipeOutMemoryManager()
Dbrotli_bit_stream.h38 MemoryManager* m, const uint32_t* histogram, const size_t histogram_total,
44 BROTLI_INTERNAL void BrotliStoreMetaBlock(MemoryManager* m,
55 BROTLI_INTERNAL void BrotliStoreMetaBlockTrivial(MemoryManager* m,
65 BROTLI_INTERNAL void BrotliStoreMetaBlockFast(MemoryManager* m,
Dbackward_references_hq.h26 BROTLI_INTERNAL void BrotliCreateZopfliBackwardReferences(MemoryManager* m,
33 BROTLI_INTERNAL void BrotliCreateHqZopfliBackwardReferences(MemoryManager* m,
81 MemoryManager* m, size_t num_bytes,
Dmetablock.h59 MemoryManager* m, MetaBlockSplit* mb) { in DestroyMetaBlockSplit()
74 BROTLI_INTERNAL void BrotliBuildMetaBlock(MemoryManager* m,
90 MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mask,
Dblock_splitter.h33 BROTLI_INTERNAL void BrotliDestroyBlockSplit(MemoryManager* m,
36 BROTLI_INTERNAL void BrotliSplitBlock(MemoryManager* m,
Dringbuffer.h66 static BROTLI_INLINE void RingBufferFree(MemoryManager* m, RingBuffer* rb) { in RingBufferFree()
73 MemoryManager* m, const uint32_t buflen, RingBuffer* rb) { in RingBufferInitBuffer()
106 MemoryManager* m, const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWrite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h93 class MemoryManager {
97 MemoryManager() = default;
98 virtual ~MemoryManager() = default;
175 RuntimeDyld(MemoryManager &MemMgr, JITSymbolResolver &Resolver);
273 RuntimeDyld::MemoryManager &MemMgr, JITSymbolResolver &Resolver,
283 MemoryManager &MemMgr;
297 RuntimeDyld::MemoryManager &MemMgr, JITSymbolResolver &Resolver,
DRTDyldMemoryManager.h32 class MCJITMemoryManager : public RuntimeDyld::MemoryManager {
35 using RuntimeDyld::MemoryManager::notifyObjectLoaded;
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DReusableSliceBufferTest.cs119 …private List<MemoryManager<byte>> GetMemoryManagersForSequenceSegments(ReadOnlySequence<byte> sequ… in GetMemoryManagersForSequenceSegments()
121 var result = new List<MemoryManager<byte>>(); in GetMemoryManagersForSequenceSegments()
124 … Assert.IsTrue(MemoryMarshal.TryGetMemoryManager(memory, out MemoryManager<byte> memoryManager)); in GetMemoryManagersForSequenceSegments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.h34 create(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MemMgr,
38 RuntimeDyldCOFF(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldCOFF()
DRuntimeDyldMachO.h51 RuntimeDyldMachO(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldMachO()
126 RuntimeDyld::MemoryManager &MemMgr,
154 RuntimeDyldMachOCRTPBase(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldMachOCRTPBase()
/third_party/benchmark/test/
Dmemory_manager_test.cc7 class TestMemoryManager : public benchmark::MemoryManager {
41 std::unique_ptr<benchmark::MemoryManager> mm(new TestMemoryManager()); in main()
/third_party/benchmark/src/
Dbenchmark_runner.h36 extern MemoryManager* memory_manager;
79 std::vector<MemoryManager::Result> memory_results;

1234