Searched refs:free_mem_size (Results 1 – 13 of 13) sorted by relevance
31 size_t free_size = CudaDriver::free_mem_size(); in Init()81 auto free_size = free_mem_size(); in AllocDeviceMem()100 size_t GPUMemoryAllocator::free_mem_size() { return std::min(CudaDriver::free_mem_size(), available… in free_mem_size() function in mindspore::device::gpu::GPUMemoryAllocator
37 size_t free_mem_size() override;
50 static size_t free_mem_size();
88 …size_t mem_size = FloatToSize(GPUMemoryAllocator::GetInstance().free_mem_size() * init_gpu_mem_rat… in MallocDeviceMemory()
428 size_t free_mem_size = GPUMemoryAllocator::GetInstance().free_mem_size(); in FetchMemUnitSize() local430 free_mem_size = kValidMemoryRatio * free_mem_size; in FetchMemUnitSize()431 unit_size = std::min(unit_size, free_mem_size); in FetchMemUnitSize()
135 size_t CudaDriver::free_mem_size() { in free_mem_size() function in mindspore::device::gpu::CudaDriver
51 auto device_free_mem_size = free_mem_size(); in CalMemBlockAllocSize()138 size_t AscendMemoryPool::free_mem_size() { in free_mem_size() function in mindspore::device::ascend::AscendMemoryPool
42 size_t free_mem_size() override;
219 auto available_mem_size = AscendMemoryPool::GetInstance().free_mem_size() + in GetAvailableMemSize()
38 size_t free_mem_size() override;
92 size_t CPUMemoryPool::free_mem_size() { return GetSystemMemorySize("MemAvailable"); } in free_mem_size() function in mindspore::device::cpu::CPUMemoryPool
116 virtual size_t free_mem_size() = 0;
148 auto device_free_mem_size = free_mem_size(); in CalMemBlockAllocSize()