OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 61 of file GpuMemUtils.cpp.

References CHECK, and QueryMemoryDescriptor::threadsShareMemory().

Referenced by copy_group_by_buffers_from_gpu(), and create_dev_group_by_buffers().

63  {
64  CHECK(query_mem_desc.threadsShareMemory());
65  return grid_size_x * group_by_one_buffer_size;
66 }
#define CHECK(condition)
Definition: Logger.h:291

+ Here is the call graph for this function:

+ Here is the caller graph for this function: