Home
last modified time | relevance | path

Searched refs:AllocTensorMem (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_memory_manager.cc128 return AscendMemoryPool::GetInstance().AllocTensorMem(align_size); in MallocMemFromMemPool()
161 …_address = reinterpret_cast<uint8_t *>(AscendMemoryPool::GetInstance().AllocTensorMem(align_size)); in MallocStaticMem()
164 return reinterpret_cast<uint8_t *>(AscendMemoryPool::GetInstance().AllocTensorMem(align_size)); in MallocStaticMem()
214 …uint8_t *base_ptr = reinterpret_cast<uint8_t *>(AscendMemoryPool::GetInstance().AllocTensorMem(ali… in MallocCommunicationMemFromMemPool()
Dascend_launch_kernel.cc29 auto device_memory = AscendMemoryPool::GetInstance().AllocTensorMem(size); in AllocDeviceMem()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_bucket.cc71 …ar_input_addr_ = static_cast<uint8_t *>(GPUMemoryAllocator::GetInstance().AllocTensorMem(total_siz… in AllocateAllReduceAddr()
72 …ar_output_addr_ = static_cast<uint8_t *>(GPUMemoryAllocator::GetInstance().AllocTensorMem(total_si… in AllocateAllReduceAddr()
Dgpu_launch_kernel.cc43 auto device_memory = GPUMemoryAllocator::GetInstance().AllocTensorMem(size); in AllocDeviceMem()
Dgpu_memory_manager.cc28 return GPUMemoryAllocator::GetInstance().AllocTensorMem(size); in MallocMemFromMemPool()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/
Dgathernd_gpu_kernel.h107 …void *dev_batch_strides_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(strid… in Init()
114 …void *dev_batch_indices_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(indic… in Init()
Dtensor_scatter_min_gpu_kernel.h117 …void *indices_stride_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(indices_… in Init()
124 …void *work_shape_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(vec_work_len… in Init()
Dtensor_scatter_sub_gpu_kernel.h118 …void *indices_stride_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(indices_… in Init()
125 …void *work_shape_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(vec_work_len… in Init()
Dtensor_scatter_update_gpu_kernel.h127 …void *indices_stride_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(indices_… in Init()
134 …void *work_shape_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(vec_work_len… in Init()
Dtensor_scatter_max_gpu_kernel.h118 …void *indices_stride_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(indices_… in Init()
125 …void *work_shape_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(vec_work_len… in Init()
Dscatter_nd_gpu_kernel.h123 …void *indices_stride_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(indices_… in Init()
130 …void *work_shape_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(vec_work_len… in Init()
Dtensor_scatter_add_gpu_kernel.h128 …void *indices_stride_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(indices_… in Init()
135 …void *work_shape_work = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(vec_work_len… in Init()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/ascend/
Dascend_ps_cache.cc132 return device::ascend::AscendMemoryPool::GetInstance().AllocTensorMem(size); in MallocMemory()
136 …interpret_cast<int *>(device::ascend::AscendMemoryPool::GetInstance().AllocTensorMem(sizeof(int))); in MallocConstantMemory()
140 …reinterpret_cast<int *>(device::ascend::AscendMemoryPool::GetInstance().AllocTensorMem(sizeof(int)… in MallocConstantMemory()
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_memory_manager.h49 …cMemFromMemPool(size_t size) override { return CPUMemoryPool::GetInstance().AllocTensorMem(size); } in MallocMemFromMemPool()
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/gpu/
Dgpu_ps_cache.cc41 return device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(size); in MallocMemory()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/mem_reuse/
Dmem_dynamic_allocator.cc29 DeviceMemPtr DynamicMemPoolBestFit::AllocTensorMem(size_t size) { in AllocTensorMem() function in mindspore::device::DynamicMemPoolBestFit
44 auto device_addr = AllocTensorMem(total_size); in AllocContinuousTensorMem()
Dmem_dynamic_allocator.h87 DeviceMemPtr AllocTensorMem(size_t size);
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/rl/
Dbuffer_sample_gpu_kernel.cc67 void *dev_state = device::gpu::GPUMemoryAllocator::GetInstance().AllocTensorMem(cap_state_size); in Init()