Home
last modified time | relevance | path

Searched refs:total_mem_size (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_simple_mem_plan.cc24 size_t total_mem_size = 32; in MemPlan() local
38 total_mem_size += address->size_; in MemPlan()
47 total_mem_size += address->size_; in MemPlan()
57 total_mem_size += address->size_; in MemPlan()
62 return total_mem_size; in MemPlan()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_memory_allocator.cc30 size_t total_size = total_mem_size(); in Init()
102 size_t GPUMemoryAllocator::total_mem_size() { return CudaDriver::total_mem_size(); } in total_mem_size() function in mindspore::device::gpu::GPUMemoryAllocator
Dgpu_memory_allocator.h38 size_t total_mem_size() override;
Dcuda_driver.h49 static size_t total_mem_size();
Dcuda_driver.cc124 size_t CudaDriver::total_mem_size() { in total_mem_size() function in mindspore::device::gpu::CudaDriver
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/cpu/
Dcpu_memory_pool.h39 size_t total_mem_size() override;
Dcpu_memory_pool.cc94 size_t CPUMemoryPool::total_mem_size() { return GetSystemMemorySize("MemTotal"); } in total_mem_size() function in mindspore::device::cpu::CPUMemoryPool
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_memory_pool.h43 size_t total_mem_size() override;
Dascend_memory_pool.cc146 size_t AscendMemoryPool::total_mem_size() { return device_mem_size_ - graph_dynamic_mem_offset_; } in total_mem_size() function in mindspore::device::ascend::AscendMemoryPool
/third_party/mindspore/mindspore/ccsrc/debug/
Dtensor_load.h194 void SetMemTotal(uint64_t total_mem_size) { this->mem_total_ = total_mem_size; } in SetMemTotal() argument
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_dynamic_allocator.h117 virtual size_t total_mem_size() = 0;