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

edgify / torch   python

Repository URL to install this package:

Version: 2.0.1+cpu 

/ include / ATen / cuda / PinnedMemoryAllocator.h

#pragma once

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

namespace at { namespace cuda {

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