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

Definition at line 25 of file ConfigResolve.h.

Definition at line 19 of file ConfigResolve.h.

Definition at line 31 of file ConfigResolve.h.

Definition at line 13 of file ConfigResolve.h.

Definition at line 37 of file ConfigResolve.h.

Function Documentation

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 }
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 }