OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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 51 of file GpuMemUtils.cpp.

References CHECK, and QueryMemoryDescriptor::threadsShareMemory().

Referenced by copy_group_by_buffers_from_gpu(), and create_dev_group_by_buffers().

53  {
54  CHECK(query_mem_desc.threadsShareMemory());
55  return grid_size_x * group_by_one_buffer_size;
56 }
#define CHECK(condition)
Definition: Logger.h:203

+ Here is the call graph for this function:

+ Here is the caller graph for this function: