Public Member Functions | Private Attributes | List of all members
TestAllocator Class Reference
Inheritance diagram for TestAllocator:
Inheritance graph
[legend]

Public Member Functions

int alloc_count () const
 
EIGEN_DEVICE_FUNC void * allocate (size_t num_bytes) const EIGEN_OVERRIDE
 
int dealloc_count () const
 
EIGEN_DEVICE_FUNC void deallocate (void *buffer) const EIGEN_OVERRIDE
 
 ~TestAllocator () EIGEN_OVERRIDE
 

Private Attributes

int alloc_count_ = 0
 
int dealloc_count_ = 0
 

Detailed Description

Definition at line 19 of file cxx11_tensor_thread_pool.cpp.

Constructor & Destructor Documentation

◆ ~TestAllocator()

TestAllocator::~TestAllocator ( )
inline

Definition at line 21 of file cxx11_tensor_thread_pool.cpp.

Member Function Documentation

◆ alloc_count()

int TestAllocator::alloc_count ( ) const
inline

Definition at line 31 of file cxx11_tensor_thread_pool.cpp.

◆ allocate()

EIGEN_DEVICE_FUNC void* TestAllocator::allocate ( size_t  num_bytes) const
inline

Definition at line 22 of file cxx11_tensor_thread_pool.cpp.

◆ dealloc_count()

int TestAllocator::dealloc_count ( ) const
inline

Definition at line 32 of file cxx11_tensor_thread_pool.cpp.

◆ deallocate()

EIGEN_DEVICE_FUNC void TestAllocator::deallocate ( void *  buffer) const
inline

Definition at line 26 of file cxx11_tensor_thread_pool.cpp.

Member Data Documentation

◆ alloc_count_

int TestAllocator::alloc_count_ = 0
private

Definition at line 35 of file cxx11_tensor_thread_pool.cpp.

◆ dealloc_count_

int TestAllocator::dealloc_count_ = 0
private

Definition at line 36 of file cxx11_tensor_thread_pool.cpp.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:06