Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
torch / include / ATen / cuda / PinnedMemoryAllocator.h
Size: Mime:
#pragma once

#include <c10/core/Allocator.h>
#include <ATen/cuda/CachingHostAllocator.h>

namespace at::cuda {

inline TORCH_CUDA_CPP_API at::Allocator* getPinnedMemoryAllocator() {
  return getCachingHostAllocator();
}
} // namespace at::cuda