Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
c10::Allocator Struct Referenceabstract
Inheritance diagram for c10::Allocator:
c10::cuda::CUDACachingAllocator::CudaCachingAllocator c10::DefaultCPUAllocator c10::hip::HIPAllocatorMasqueradingAsCUDA THCCachingHostAllocator XLAAllocator

Public Member Functions

virtual DataPtr allocate (size_t n) const =0
 
virtual DeleterFnPtr raw_deleter () const
 
void * raw_allocate (size_t n)
 
void raw_deallocate (void *ptr)
 

Detailed Description

Definition at line 148 of file Allocator.h.


The documentation for this struct was generated from the following file: