OmniSciDB  5ade3759e0
ConfigResolve.h File Reference
#include <type_traits>
#include "funcannotations.h"
+ Include dependency graph for ConfigResolve.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PreprocessorTrue
 
struct  PreprocessorFalse
 

Typedefs

using JVMRemoteDebugSelector = PreprocessorFalse
 
using CalciteUpdatePathSelector = PreprocessorFalse
 
using CalciteDeletePathSelector = PreprocessorFalse
 
using CudaBuildSelector = PreprocessorFalse
 
using VarlenUpdates = PreprocessorFalse
 

Functions

template<typename T >
constexpr bool is_feature_enabled ()
 
DEVICE constexpr bool isCudaCC ()
 

Typedef Documentation

◆ CalciteDeletePathSelector

Definition at line 25 of file ConfigResolve.h.

◆ CalciteUpdatePathSelector

Definition at line 19 of file ConfigResolve.h.

◆ CudaBuildSelector

Definition at line 31 of file ConfigResolve.h.

◆ JVMRemoteDebugSelector

Definition at line 13 of file ConfigResolve.h.

◆ VarlenUpdates

Definition at line 37 of file ConfigResolve.h.

Function Documentation

◆ is_feature_enabled()

template<typename T >
constexpr bool is_feature_enabled ( )
inline

Definition at line 41 of file ConfigResolve.h.

41  {
42  return std::is_same<T, PreprocessorTrue>::value;
43 }

◆ isCudaCC()

DEVICE constexpr bool isCudaCC ( )
inline

Definition at line 45 of file ConfigResolve.h.

45  {
46 #ifdef __CUDACC__
47  return true;
48 #else
49  return false;
50 #endif
51 }