#pragma once #include namespace at { namespace cuda { CAFFE2_API at::Allocator* getPinnedMemoryAllocator(); }} // namespace at::cuda