OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RenderAllocatorMap Class Reference

#include <RenderAllocator.h>

Public Member Functions

 RenderAllocatorMap (::QueryRenderer::QueryRenderManager *render_manager)
 
 ~RenderAllocatorMap ()
 
RenderAllocatorgetRenderAllocator (size_t device_id)
 
RenderAllocatoroperator[] (size_t device_id)
 
size_t size () const
 
void bufferData (int8_t *data, const size_t num_data_bytes, const size_t device_id)
 
void setDataLayout (const std::shared_ptr<::QueryRenderer::QueryDataLayout > &query_data_layout)
 
void prepForRendering (const std::shared_ptr<::QueryRenderer::QueryDataLayout > &query_data_layout)
 

Private Attributes

::QueryRenderer::QueryRenderManager * render_manager_
 
std::vector< RenderAllocatorrender_allocator_map_
 

Detailed Description

Definition at line 80 of file RenderAllocator.h.

Constructor & Destructor Documentation

RenderAllocatorMap::RenderAllocatorMap ( ::QueryRenderer::QueryRenderManager *  render_manager)

Definition at line 57 of file RenderAllocator.cpp.

References CHECK.

58  {
59  CHECK(false);
60 }
#define CHECK(condition)
Definition: Logger.h:291
RenderAllocatorMap::~RenderAllocatorMap ( )

Definition at line 62 of file RenderAllocator.cpp.

62 {}

Member Function Documentation

void RenderAllocatorMap::bufferData ( int8_t *  data,
const size_t  num_data_bytes,
const size_t  device_id 
)

Definition at line 74 of file RenderAllocator.cpp.

References CHECK.

76  {
77  CHECK(false);
78 }
#define CHECK(condition)
Definition: Logger.h:291
RenderAllocator * RenderAllocatorMap::getRenderAllocator ( size_t  device_id)

Definition at line 64 of file RenderAllocator.cpp.

References CHECK.

Referenced by anonymous_namespace{QueryMemoryInitializer.cpp}::alloc_group_by_buffer(), and QueryExecutionContext::launchGpuCode().

64  {
65  CHECK(false);
66  return nullptr;
67 }
#define CHECK(condition)
Definition: Logger.h:291

+ Here is the caller graph for this function:

RenderAllocator * RenderAllocatorMap::operator[] ( size_t  device_id)

Definition at line 69 of file RenderAllocator.cpp.

References CHECK.

69  {
70  CHECK(false);
71  return nullptr;
72 }
#define CHECK(condition)
Definition: Logger.h:291
void RenderAllocatorMap::prepForRendering ( const std::shared_ptr<::QueryRenderer::QueryDataLayout > &  query_data_layout)

Definition at line 85 of file RenderAllocator.cpp.

References CHECK.

86  {
87  CHECK(false);
88 }
#define CHECK(condition)
Definition: Logger.h:291
void RenderAllocatorMap::setDataLayout ( const std::shared_ptr<::QueryRenderer::QueryDataLayout > &  query_data_layout)

Definition at line 80 of file RenderAllocator.cpp.

References CHECK.

81  {
82  CHECK(false);
83 }
#define CHECK(condition)
Definition: Logger.h:291
size_t RenderAllocatorMap::size ( ) const
inline

Definition at line 87 of file RenderAllocator.h.

References render_allocator_map_.

87 { return render_allocator_map_.size(); }
std::vector< RenderAllocator > render_allocator_map_

Member Data Documentation

std::vector<RenderAllocator> RenderAllocatorMap::render_allocator_map_
private

Definition at line 97 of file RenderAllocator.h.

Referenced by size().

::QueryRenderer::QueryRenderManager* RenderAllocatorMap::render_manager_
private

Definition at line 96 of file RenderAllocator.h.


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