OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CompilationOptions Struct Reference

#include <CompilationOptions.h>

Static Public Member Functions

static CompilationOptions makeCpuOnly (const CompilationOptions &in)
 
static CompilationOptions defaults (const ExecutorDeviceType device_type=ExecutorDeviceType::GPU)
 

Public Attributes

ExecutorDeviceType device_type
 
bool hoist_literals
 
ExecutorOptLevel opt_level
 
bool with_dynamic_watchdog
 
bool allow_lazy_fetch
 
bool filter_on_deleted_column {true}
 
ExecutorExplainType explain_type {ExecutorExplainType::Default}
 
bool register_intel_jit_listener {false}
 

Detailed Description

Definition at line 31 of file CompilationOptions.h.

Member Function Documentation

static CompilationOptions CompilationOptions::defaults ( const ExecutorDeviceType  device_type = ExecutorDeviceType::GPU)
inlinestatic

Definition at line 53 of file CompilationOptions.h.

References Default, and device_type.

Referenced by QueryRunner::anonymous_namespace{QueryRunner.cpp}::run_select_query_with_filter_push_down(), QueryRunner::QueryRunner::runSelectQuery(), QueryRunner::QueryRunner::runSQL(), and QueryRunner::QueryRunner::runSQLWithAllowingInterrupt().

54  {
56  /*hoist_literals=*/true,
57  /*opt_level=*/ExecutorOptLevel::Default,
58  /*with_dynamic_watchdog=*/false,
59  /*allow_lazy_fetch=*/true,
60  /*filter_on_delted_column=*/true,
61  /*explain_type=*/ExecutorExplainType::Default,
62  /*register_intel_jit_listener=*/false};
63  }
ExecutorDeviceType device_type

+ Here is the caller graph for this function:

static CompilationOptions CompilationOptions::makeCpuOnly ( const CompilationOptions in)
inlinestatic

Definition at line 42 of file CompilationOptions.h.

References allow_lazy_fetch, CPU, explain_type, filter_on_deleted_column, hoist_literals, opt_level, register_intel_jit_listener, and with_dynamic_watchdog.

Referenced by RelAlgExecutor::executeDelete(), RelAlgExecutor::executeRelAlgQuery(), RelAlgExecutor::executeRelAlgSeq(), RelAlgExecutor::executeRelAlgSubSeq(), Executor::executeTableFunction(), RelAlgExecutor::executeUnion(), RelAlgExecutor::executeUpdate(), and RelAlgExecutor::handleOutOfMemoryRetry().

+ Here is the caller graph for this function:

Member Data Documentation

bool CompilationOptions::allow_lazy_fetch
ExecutorDeviceType CompilationOptions::device_type

Definition at line 32 of file CompilationOptions.h.

Referenced by Executor::buildCurrentLevelHashTable(), anonymous_namespace{RelAlgExecutor.cpp}::can_use_bump_allocator(), TargetExprCodegen::codegen(), TreeModelPredictionMgr::codegen(), GroupByAndAggregate::codegen(), StringDictionaryTranslationMgr::codegen(), spatial_type::Transform::codegen(), CodeGenerator::codegen(), CodeGenerator::codegenAdd(), TargetExprCodegen::codegenAggregate(), CodeGenerator::codegenArrayExpr(), CodeGenerator::codegenCastFromString(), CodeGenerator::codegenCastNonStringToString(), CodeGenerator::codegenFunctionOper(), CodeGenerator::codegenGeoBinOper(), CodeGenerator::codegenGeoUOper(), Executor::codegenJoinLoops(), CodeGenerator::codegenMul(), TargetExprCodegenBuilder::codegenMultiSlotSampleExpressions(), CodeGenerator::codegenPerRowStringOper(), CodeGenerator::codegenPseudoStringOper(), CodeGenerator::codegenQualifierCmp(), TargetExprCodegenBuilder::codegenSampleExpressions(), GroupByAndAggregate::codegenSingleColumnPerfectHash(), TargetExprCodegenBuilder::codegenSingleSlotSampleExpression(), CodeGenerator::codegenSub(), CodeGenerator::codegenTreeRegPredict(), TableFunctionCompilationContext::compile(), QueryCompilationDescriptor::compile(), ScalarCodeGenerator::compile(), CodeGenerator::createInValuesBitmap(), RelAlgExecutor::createWindowFunctionContext(), defaults(), RelAlgExecutor::executeProject(), RelAlgExecutor::executeRelAlgQuerySingleStep(), RelAlgExecutor::executeRelAlgSeq(), RelAlgExecutor::executeRelAlgSubSeq(), RelAlgExecutor::executeSort(), Executor::executeTableFunction(), Executor::executeWorkUnitImpl(), Executor::executeWorkUnitPerFragment(), TableFunctionCompilationContext::finalize(), TableFunctionCompilationContext::generateEntryPoint(), ScalarCodeGenerator::generateNativeCode(), Executor::groupByColumnCodegen(), anonymous_namespace{RelAlgExecutor.cpp}::handle_query_hint(), RelAlgExecutor::handleOutOfMemoryRetry(), GroupByAndAggregate::needsUnnestDoublePatch(), TargetExprCodegenBuilder::operator()(), TableFunctionCompilationContext::passColumnsByValue(), anonymous_namespace{RelAlgExecutor.cpp}::prepare_for_system_table_execution(), and QueryRunner::QueryRunner::runSelectQuery().

bool CompilationOptions::filter_on_deleted_column {true}
ExecutorOptLevel CompilationOptions::opt_level

Definition at line 34 of file CompilationOptions.h.

Referenced by CodeGenerator::generateNativeCPUCode(), and makeCpuOnly().

bool CompilationOptions::register_intel_jit_listener {false}
bool CompilationOptions::with_dynamic_watchdog

The documentation for this struct was generated from the following file: