Searched refs:MallocMemFromMemPool (Results 1 – 11 of 11) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | gpu_memory_manager.cc | 27 void *GPUMemoryManager::MallocMemFromMemPool(size_t size) { in MallocMemFromMemPool() function in mindspore::device::gpu::GPUMemoryManager 81 auto device_addr = MallocMemFromMemPool(1); in MallocDeviceMemory() 109 auto device_ptr = MallocMemFromMemPool(size); in MallocStaticMem()
|
D | gpu_memory_manager.h | 32 void *MallocMemFromMemPool(size_t size) override;
|
D | gpu_kernel_runtime.cc | 344 auto ret = mem_manager_->MallocMemFromMemPool(device_address, output_size[output_index]); in AllocInplaceNodeMemory() 1056 auto ret = mem_manager_->MallocMemFromMemPool(device_address, size); in AttemptMallocMem() 1066 ret = mem_manager_->MallocMemFromMemPool(device_address, size); in AttemptMallocMem()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | memory_manager.h | 55 virtual bool MallocMemFromMemPool(const DeviceAddressPtr address, size_t size); 56 virtual void *MallocMemFromMemPool(size_t size); 68 void *MallocDevice(size_t mem_size) override { return MallocMemFromMemPool(mem_size); } in MallocDevice()
|
D | memory_manager.cc | 144 bool MemoryManager::MallocMemFromMemPool(const DeviceAddressPtr address, size_t size) { in MallocMemFromMemPool() function in mindspore::device::MemoryManager 146 auto device_ptr = MallocMemFromMemPool(size); in MallocMemFromMemPool() 157 void *MemoryManager::MallocMemFromMemPool(size_t size) { in MallocMemFromMemPool() function in mindspore::device::MemoryManager
|
D | kernel_runtime.cc | 410 if (!mem_manager_->MallocMemFromMemPool(output_address, output_address->size())) { in RunOpAssignInputMemory() 427 auto ret = mem_manager_->MallocMemFromMemPool(device_address, tensor_size); in RunOpAssignInputMemory() 460 if (!mem_manager_->MallocMemFromMemPool(address, address->size())) { in RunOpAssignOutputMemory() 476 auto ret = mem_manager_->MallocMemFromMemPool(device_address, output_sizes[i]); in RunOpAssignOutputMemory() 494 auto ret = mem_manager_->MallocMemFromMemPool(device_address, workspace_lists[i]); in RunOpAssignWorkSpaceMemory() 982 !mem_manager_->MallocMemFromMemPool(address, node_size)) { in AssignValueNodeTensor() 1021 if (!mem_manager_->MallocMemFromMemPool(device_address, device_address->size_)) { in AssignStaticMemoryValueNode() 1044 !mem_manager_->MallocMemFromMemPool(address, tensor_size)) { in AssignStaticMemoryValueNode()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ |
D | ascend_memory_manager.h | 35 void *MallocMemFromMemPool(size_t size) override;
|
D | ascend_memory_manager.cc | 126 void *AscendMemoryManager::MallocMemFromMemPool(size_t size) { in MallocMemFromMemPool() function in mindspore::device::ascend::AscendMemoryManager
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/ |
D | cpu_memory_manager.h | 49 …void *MallocMemFromMemPool(size_t size) override { return CPUMemoryPool::GetInstance().AllocTensor… in MallocMemFromMemPool() function
|
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/cpu/ |
D | cpu_device_context.cc | 81 auto device_ptr = mem_manager_->MallocMemFromMemPool(size); in AllocateMemory()
|
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/gpu/ |
D | gpu_device_context.cc | 171 auto device_ptr = mem_manager_->MallocMemFromMemPool(size); in AllocateMemory()
|