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

Functions

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

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

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 }
bool is_fp() const
Definition: sqltypes.h:573
HOST DEVICE SQLTypes get_type() const
Definition: sqltypes.h:391

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

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: