Searched refs:FreeTensorMem (Results 1 – 20 of 20) sorted by relevance
35 CPUMemoryPool::GetInstance().FreeTensorMem(ptr_); in ClearDeviceMemory()124 CPUMemoryPool::GetInstance().FreeTensorMem(ptr_); in SyncHostToDevice()
50 …void FreeMemFromMemPool(void *device_ptr) override { CPUMemoryPool::GetInstance().FreeTensorMem(de… in FreeMemFromMemPool()
34 …device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(dev_batch_strides… in ~GatherNdGpuFwdKernel()37 …device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(dev_batch_indices… in ~GatherNdGpuFwdKernel()
44 …device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(indices_stride_)); in ~TensorScatterMinGpuKernel()47 … device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(work_shape_)); in ~TensorScatterMinGpuKernel()
45 …device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(indices_stride_)); in ~TensorScatterSubGpuKernel()48 … device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(work_shape_)); in ~TensorScatterSubGpuKernel()
45 …device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(indices_stride_)); in ~TensorScatterUpdateGpuFwdKernel()48 … device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(work_shape_)); in ~TensorScatterUpdateGpuFwdKernel()
45 …device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(indices_stride_)); in ~TensorScatterMaxGpuKernel()48 … device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(work_shape_)); in ~TensorScatterMaxGpuKernel()
44 …device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(indices_stride_)); in ~ScatterNdGpuFwdKernel()47 … device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(work_shape_)); in ~ScatterNdGpuFwdKernel()
45 …device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(indices_stride_)); in ~TensorScatterAddGpuFwdKernel()48 … device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(work_shape_)); in ~TensorScatterAddGpuFwdKernel()
38 void GPULaunchkernel::FreeDeviceMem(void *addr) { GPUMemoryAllocator::GetInstance().FreeTensorMem(a… in FreeDeviceMem()
32 GPUMemoryAllocator::GetInstance().FreeTensorMem(device_ptr); in FreeMemFromMemPool()
123 GPUMemoryAllocator::GetInstance().FreeTensorMem(ptr_); in ClearDeviceMemory()
82 void GPUBucket::FreeDeviceMem(void *dev_ptr) { GPUMemoryAllocator::GetInstance().FreeTensorMem(dev_… in FreeDeviceMem()
24 void AscendLaunchKernel::FreeDeviceMem(void *addr) { AscendMemoryPool::GetInstance().FreeTensorMem(… in FreeDeviceMem()
75 void AscendBucket::FreeDeviceMem(void *dev_ptr) { AscendMemoryPool::GetInstance().FreeTensorMem(dev… in FreeDeviceMem()
132 AscendMemoryPool::GetInstance().FreeTensorMem(device_ptr); in FreeMemFromMemPool()
485 AscendMemoryPool::GetInstance().FreeTensorMem(communication_ptr_); in ClearDeviceMemory()488 AscendMemoryPool::GetInstance().FreeTensorMem(ptr_); in ClearDeviceMemory()
37 device::gpu::GPUMemoryAllocator::GetInstance().FreeTensorMem(static_cast<void *>(devStates_)); in ~BufferSampleKernel()
91 void FreeTensorMem(const DeviceMemPtr &device_addr);
202 void DynamicMemPoolBestFit::FreeTensorMem(const DeviceMemPtr &device_addr) { in FreeTensorMem() function in mindspore::device::DynamicMemPoolBestFit