Home
last modified time | relevance | path

Searched refs:getPinnedMemoryAllocator (Results 1 – 20 of 20) sorted by relevance

/external/pytorch/aten/src/ATen/xpu/detail/
DXPUHooks.cpp70 Allocator* XPUHooks::getPinnedMemoryAllocator() const { in getPinnedMemoryAllocator() function in at::xpu::detail::XPUHooks
71 return at::xpu::getPinnedMemoryAllocator(); in getPinnedMemoryAllocator()
DXPUHooks.h21 Allocator* getPinnedMemoryAllocator() const override;
/external/pytorch/aten/src/ATen/native/
DMemory.cpp62 at::globalContext().getPinnedMemoryAllocator(device.value().type()): in _pin_memory()
63 at::globalContext().getPinnedMemoryAllocator(); in _pin_memory()
/external/pytorch/aten/src/ATen/xpu/
DPinnedMemoryAllocator.h8 inline TORCH_XPU_API at::Allocator* getPinnedMemoryAllocator() { in getPinnedMemoryAllocator() function
/external/pytorch/aten/src/ATen/cuda/
DPinnedMemoryAllocator.h8 inline TORCH_CUDA_CPP_API at::Allocator* getPinnedMemoryAllocator() { in getPinnedMemoryAllocator() function
/external/pytorch/aten/src/ATen/native/cuda/
DMiscUtils.h22 auto* allocator = cuda::getPinnedMemoryAllocator(); in pin_memory()
/external/pytorch/aten/src/ATen/detail/
DAcceleratorHooksInterface.h49 virtual Allocator* getPinnedMemoryAllocator() const { in getPinnedMemoryAllocator() function
DPrivateUse1HooksInterface.h31 virtual Allocator* getPinnedMemoryAllocator() const override { in getPinnedMemoryAllocator() function
DHIPHooksInterface.h50 Allocator* getPinnedMemoryAllocator() const override { in getPinnedMemoryAllocator() function
DXPUHooksInterface.h61 Allocator* getPinnedMemoryAllocator() const override { in getPinnedMemoryAllocator() function
DMTIAHooksInterface.h98 Allocator* getPinnedMemoryAllocator() const override { in getPinnedMemoryAllocator() function
DMPSHooksInterface.h100 Allocator* getPinnedMemoryAllocator() const override { in getPinnedMemoryAllocator() function
DCUDAHooksInterface.h124 Allocator* getPinnedMemoryAllocator() const override { in getPinnedMemoryAllocator() function
/external/pytorch/aten/src/ATen/mps/
DMPSHooks.h38 Allocator* getPinnedMemoryAllocator() const override;
DMPSHooks.mm142 Allocator* MPSHooks::getPinnedMemoryAllocator() const {
/external/pytorch/aten/src/ATen/cuda/detail/
DCUDAHooks.h36 Allocator* getPinnedMemoryAllocator() const override;
DCUDAHooks.cpp252 Allocator* CUDAHooks::getPinnedMemoryAllocator() const { in getPinnedMemoryAllocator() function in at::cuda::detail::CUDAHooks
253 return at::cuda::getPinnedMemoryAllocator(); in getPinnedMemoryAllocator()
/external/pytorch/aten/src/ATen/
DEmptyTensor.cpp20 return at::detail::getCUDAHooks().getPinnedMemoryAllocator(); in GetCPUAllocatorMaybePinned()
22 return at::detail::getXPUHooks().getPinnedMemoryAllocator(); in GetCPUAllocatorMaybePinned()
24 return at::detail::getPrivateUse1Hooks().getPinnedMemoryAllocator(); in GetCPUAllocatorMaybePinned()
/external/pytorch/test/cpp_extensions/
Dopen_registration_extension.cpp599 c10::Allocator* getPinnedMemoryAllocator() const override { in getPinnedMemoryAllocator() function
/external/pytorch/torch/csrc/distributed/c10d/
DProcessGroupGloo.cpp314 auto* allocator = at::detail::getCUDAHooks().getPinnedMemoryAllocator(); in pinnedLike()