#pragma once #include #include namespace at::xpu { inline TORCH_XPU_API at::Allocator* getPinnedMemoryAllocator() { return getCachingHostAllocator(); } } // namespace at::xpu