OmniSciDB  04ee39c94c
CompilationOptions.h
Go to the documentation of this file.
1 /*
2  * Copyright 2017 MapD Technologies, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef QUERYENGINE_COMPILATIONOPTIONS_H
18 #define QUERYENGINE_COMPILATIONOPTIONS_H
19 
20 enum class ExecutorDeviceType { CPU, GPU };
21 
23 
25 
27 
30  const bool hoist_literals_;
34  const bool register_intel_jit_listener_{false};
35 };
36 
39  const bool allow_multifrag;
40  const bool just_explain; // return the generated IR for the first step
41  const bool allow_loop_joins;
42  const bool with_watchdog; // Per work unit, not global.
43  const bool jit_debug;
44  const bool just_validate;
45  const bool with_dynamic_watchdog; // Per work unit, not global.
46  const unsigned
47  dynamic_watchdog_time_limit; // Dynamic watchdog time limit, in milliseconds.
50  const double gpu_input_mem_limit_percent; // punt to CPU if input memory exceeds this
51 };
52 
53 #endif // QUERYENGINE_COMPILATIONOPTIONS_H
ExecutorDeviceType
const ExecutorOptLevel opt_level_
ExecutorOptLevel
ExecutorDispatchMode
const bool allow_multifrag
const bool find_push_down_candidates
const bool just_validate
const bool with_dynamic_watchdog
const double gpu_input_mem_limit_percent
const bool output_columnar_hint
ExecutorDeviceType device_type_
const bool just_calcite_explain
const bool allow_loop_joins
const bool with_dynamic_watchdog_
const unsigned dynamic_watchdog_time_limit
ExecutorExplainType
const bool with_watchdog