OmniSciDB  b24e664e58
 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 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 }

+ Here is the call graph for this function:

+ Here is the caller graph for this function: