Home
last modified time | relevance | path

Searched defs:device_addr (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_dynamic_allocator.cc33 DeviceMemPtr device_addr = FindIdleMemBuf(align_size); in AllocTensorMem() local
44 auto device_addr = AllocTensorMem(total_size); in AllocContinuousTensorMem() local
116 DeviceMemPtr device_addr = nullptr; in AddMemBlockAndMemBuf() local
186 bool DynamicMemPoolBestFit::CmpMemBlock(const DeviceMemPtr &device_addr, const DynamicMemBlockPtr &… in CmpMemBlock()
192 DynamicMemBlockPtr DynamicMemPoolBestFit::FindMemBlock(const DeviceMemPtr &device_addr) { in FindMemBlock()
202 void DynamicMemPoolBestFit::FreeTensorMem(const DeviceMemPtr &device_addr) { in FreeTensorMem()
214 …mPoolBestFit::CombineMemBuf(const DynamicMemBlockPtr &mem_block, const DeviceMemPtr &device_addr) { in CombineMemBuf()
266 void DynamicMemPoolBestFit::EraseIdleMemBuf(size_t size, const DeviceMemPtr &device_addr) { in EraseIdleMemBuf()
286 auto &device_addr = (*iter)->device_addr_base_; in ReleaseDeviceRes() local
Dmem_dynamic_allocator.h66 const DeviceMemPtr &device_addr() const { return device_addr_base_; } in device_addr() function
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_memory_manager.cc81 auto device_addr = MallocMemFromMemPool(1); in MallocDeviceMemory() local
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/somas/
Dsomas.cc639 auto device_addr = AnfAlgo::GetOutputAddr(node, index); in CreateSomasParameter() local