OmniSciDB  dfae7c3b14
MaxwellCodegenPatch.h File Reference
#include "../CudaMgr/CudaMgr.h"
#include "Execute.h"
+ Include dependency graph for MaxwellCodegenPatch.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


bool need_patch_unnest_double (const SQLTypeInfo &ti, const bool is_maxwell, const bool mem_shared)
std::string patch_agg_fname (const std::string &agg_name)

Function Documentation

◆ need_patch_unnest_double()

bool need_patch_unnest_double ( const SQLTypeInfo ti,
const bool  is_maxwell,
const bool  mem_shared 

Definition at line 23 of file MaxwellCodegenPatch.h.

References SQLTypeInfo::get_type(), SQLTypeInfo::is_fp(), and kDOUBLE.

Referenced by Executor::groupByColumnCodegen().

25  {
26  return is_maxwell && mem_shared && ti.is_fp() && ti.get_type() == kDOUBLE;
27 }
HOST DEVICE SQLTypes get_type() const
Definition: sqltypes.h:259
bool is_fp() const
Definition: sqltypes.h:421
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ patch_agg_fname()

std::string patch_agg_fname ( const std::string &  agg_name)

Definition at line 29 of file MaxwellCodegenPatch.h.

Referenced by TargetExprCodegen::codegenAggregate().

29  {
30  const auto new_name = agg_name + "_slow";
31  return new_name;
32 }
+ Here is the caller graph for this function: