23 namespace ExecutorResourceMgr_Namespace {
95 : request_device_type(request_device_type)
96 , priority_level(priority_level)
97 , cpu_slots(cpu_slots)
98 , min_cpu_slots(min_cpu_slots)
99 , gpu_slots(gpu_slots)
100 , min_gpu_slots(min_gpu_slots)
101 , cpu_result_mem(cpu_result_mem)
102 , min_cpu_result_mem(min_cpu_result_mem)
103 , chunk_request_info(chunk_request_info)
104 , output_buffers_reusable_intra_thread(output_buffers_reusable_intra_thread) {}
111 const size_t num_kernels,
113 : request_device_type(request_device_type)
118 : static_cast<size_t>(0))
121 : static_cast<size_t>(0))
122 , cpu_result_mem(cpu_result_mem)
A container to store requested and minimum neccessary resource requests across all resource types cur...
bool request_must_run_alone
bool output_buffers_reusable_intra_thread
bool request_must_run_alone_for_device_type
Specifies the minimum and maximum quanity either requested or granted for a request of resource_subty...
std::vector< std::pair< ChunkKey, size_t > > chunks_with_byte_sizes
RequestInfo(const ExecutorDeviceType request_device_type, const size_t num_kernels, const size_t cpu_result_mem)
Simple constructor assuming no difference between min and requested resources, and no intra-thread cp...
ResourceSubtype
Stores the resource sub-type for a ExecutorResourcePool request.
std::vector< size_t > bytes_per_kernel
RequestInfo(const ExecutorDeviceType request_device_type, const size_t priority_level, const size_t cpu_slots, const size_t min_cpu_slots, const size_t gpu_slots, const size_t min_gpu_slots, const size_t cpu_result_mem, const size_t min_cpu_result_mem, const ChunkRequestInfo &chunk_request_info, const bool output_buffers_reusable_intra_thread)
bool bytes_scales_per_kernel
bool chunk_memory_scales_by_num_threads
size_t min_cpu_result_mem
ExecutorDeviceType device_memory_pool_type
ExecutorDeviceType request_device_type
ResourceSubtype resource_subtype
Specifies all DataMgr chunks needed for a query step/request, along with their sizes in bytes...
size_t max_bytes_per_kernel
ChunkRequestInfo chunk_request_info