OmniSciDB  29e35f4d58
anonymous_namespace{GpuMemUtils.cpp} Namespace Reference


size_t coalesced_size (const QueryMemoryDescriptor &query_mem_desc, const size_t group_by_one_buffer_size, const unsigned grid_size_x)

Function Documentation

◆ coalesced_size()

size_t anonymous_namespace{GpuMemUtils.cpp}::coalesced_size ( const QueryMemoryDescriptor query_mem_desc,
const size_t  group_by_one_buffer_size,
const unsigned  grid_size_x 

Definition at line 52 of file GpuMemUtils.cpp.

References CHECK, and QueryMemoryDescriptor::threadsShareMemory().

Referenced by copy_group_by_buffers_from_gpu(), and create_dev_group_by_buffers().

54  {
55  CHECK(query_mem_desc.threadsShareMemory());
56  return grid_size_x * group_by_one_buffer_size;
57 }
#define CHECK(condition)
Definition: Logger.h:193
+ Here is the call graph for this function:
+ Here is the caller graph for this function: