Classes | Public Member Functions | Private Attributes | List of all members
Eigen::internal::TensorBlockScratchAllocator< Device > Class Template Reference

#include <TensorBlock.h>

Classes

struct  Allocation
 

Public Member Functions

void * allocate (size_t size)
 
void reset ()
 
 TensorBlockScratchAllocator (const Device &device)
 
 ~TensorBlockScratchAllocator ()
 

Private Attributes

int m_allocation_index
 
std::vector< Allocationm_allocations
 
const Device & m_device
 

Detailed Description

template<typename Device>
class Eigen::internal::TensorBlockScratchAllocator< Device >

Definition at line 525 of file TensorBlock.h.

Constructor & Destructor Documentation

◆ TensorBlockScratchAllocator()

template<typename Device >
Eigen::internal::TensorBlockScratchAllocator< Device >::TensorBlockScratchAllocator ( const Device &  device)
inlineexplicit

Definition at line 527 of file TensorBlock.h.

◆ ~TensorBlockScratchAllocator()

template<typename Device >
Eigen::internal::TensorBlockScratchAllocator< Device >::~TensorBlockScratchAllocator ( )
inline

Definition at line 530 of file TensorBlock.h.

Member Function Documentation

◆ allocate()

template<typename Device >
void* Eigen::internal::TensorBlockScratchAllocator< Device >::allocate ( size_t  size)
inline

Definition at line 536 of file TensorBlock.h.

◆ reset()

template<typename Device >
void Eigen::internal::TensorBlockScratchAllocator< Device >::reset ( )
inline

Definition at line 572 of file TensorBlock.h.

Member Data Documentation

◆ m_allocation_index

template<typename Device >
int Eigen::internal::TensorBlockScratchAllocator< Device >::m_allocation_index
private

Definition at line 581 of file TensorBlock.h.

◆ m_allocations

template<typename Device >
std::vector<Allocation> Eigen::internal::TensorBlockScratchAllocator< Device >::m_allocations
private

Definition at line 583 of file TensorBlock.h.

◆ m_device

template<typename Device >
const Device& Eigen::internal::TensorBlockScratchAllocator< Device >::m_device
private

Definition at line 580 of file TensorBlock.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:14:10