OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExecutorResourceMgr_Namespace::ChunkRequestInfo Struct Reference

Specifies all DataMgr chunks needed for a query step/request, along with their sizes in bytes. It also keeps track of other metadata to avoid having to recompute this info, such as total_bytes and a vector of total byte sizes for each kernel. The latter is relevant if bytes_scales_per_kernel is true, as the ExecutorResourceMgr/ ExecutorResourcePool can scale back the number of kernels allowed to run simultaneously to ensure that a query step can run. More...

#include <ResourceRequest.h>

Public Attributes

ExecutorDeviceType device_memory_pool_type {ExecutorDeviceType::CPU}
 
std::vector< std::pair
< ChunkKey, size_t > > 
chunks_with_byte_sizes
 
size_t num_chunks {0}
 
size_t total_bytes {0}
 
std::vector< size_t > bytes_per_kernel
 
size_t max_bytes_per_kernel {0}
 
bool bytes_scales_per_kernel {false}
 

Detailed Description

Specifies all DataMgr chunks needed for a query step/request, along with their sizes in bytes. It also keeps track of other metadata to avoid having to recompute this info, such as total_bytes and a vector of total byte sizes for each kernel. The latter is relevant if bytes_scales_per_kernel is true, as the ExecutorResourceMgr/ ExecutorResourcePool can scale back the number of kernels allowed to run simultaneously to ensure that a query step can run.

Definition at line 34 of file ResourceRequest.h.

Member Data Documentation

std::vector<size_t> ExecutorResourceMgr_Namespace::ChunkRequestInfo::bytes_per_kernel

Definition at line 39 of file ResourceRequest.h.

bool ExecutorResourceMgr_Namespace::ChunkRequestInfo::bytes_scales_per_kernel {false}

Definition at line 41 of file ResourceRequest.h.

size_t ExecutorResourceMgr_Namespace::ChunkRequestInfo::max_bytes_per_kernel {0}

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