![]() |
|
#include <TensorBlock.h>
Classes | |
| struct | Allocation |
Public Member Functions | |
| TensorBlockScratchAllocator (const Device &device) | |
| ~TensorBlockScratchAllocator () | |
| void * | allocate (size_t size) |
| void | reset () |
Private Attributes | |
| const Device & | m_device |
| int | m_allocation_index |
| std::vector< Allocation > | m_allocations |
|
inlineexplicit |
|
inline |
References i, Eigen::internal::TensorBlockScratchAllocator< Device >::m_allocations, and Eigen::internal::TensorBlockScratchAllocator< Device >::m_device.
|
inline |
References eigen_assert, Eigen::internal::TensorBlockScratchAllocator< Device >::m_allocation_index, Eigen::internal::TensorBlockScratchAllocator< Device >::m_allocations, Eigen::internal::TensorBlockScratchAllocator< Device >::m_device, Eigen::internal::TensorBlockScratchAllocator< Device >::Allocation::ptr, size, and Eigen::internal::TensorBlockScratchAllocator< Device >::Allocation::size.
Referenced by Eigen::TensorEvaluator< const TensorBroadcastingOp< Broadcast, ArgType >, Device >::BroadcastBlock().
|
inline |
|
private |
|
private |
|
private |