OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExtensionFunctionsArray.hpp File Reference
#include <cassert>
+ Include dependency graph for ExtensionFunctionsArray.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 anonymous_namespace{ExtensionFunctionsArray.hpp}
 

Functions

template<typename T >
DEVICE ALWAYS_INLINE Array< T > anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl (const Array< T > in_arr, T val)
 
DEVICE ALWAYS_INLINE Array< bool > anonymous_namespace{ExtensionFunctionsArray.hpp}::barray_append_impl (const Array< bool > in_arr, const int8_t val)
 
EXTENSION_NOINLINE Array< int64_t > array_append (const Array< int64_t > in_arr, const int64_t val)
 
EXTENSION_NOINLINE Array< int32_t > array_append__ (const Array< int32_t > in_arr, const int32_t val)
 
EXTENSION_NOINLINE Array< int16_t > array_append__1 (const Array< int16_t > in_arr, const int16_t val)
 
EXTENSION_NOINLINE Array< int8_t > array_append__2 (const Array< int8_t > in_arr, const int8_t val)
 
EXTENSION_NOINLINE Array< double > array_append__3 (const Array< double > in_arr, const double val)
 
EXTENSION_NOINLINE Array< float > array_append__4 (const Array< float > in_arr, const float val)
 
EXTENSION_NOINLINE Array< bool > barray_append (const Array< bool > in_arr, const bool val)
 

Function Documentation

EXTENSION_NOINLINE Array<int64_t> array_append ( const Array< int64_t >  in_arr,
const int64_t  val 
)

Definition at line 52 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl().

53  {
54 #ifndef __CUDACC__
55  return array_append_impl(in_arr, val);
56 #else
57  assert(false);
58  return Array<int64_t>(0, true);
59 #endif
60 }
DEVICE ALWAYS_INLINE Array< T > array_append_impl(const Array< T > in_arr, T val)

+ Here is the call graph for this function:

EXTENSION_NOINLINE Array<int32_t> array_append__ ( const Array< int32_t >  in_arr,
const int32_t  val 
)

Definition at line 62 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl().

63  {
64 #ifndef __CUDACC__
65  return array_append_impl(in_arr, val);
66 #else
67  assert(false);
68  return Array<int32_t>(0, true);
69 #endif
70 }
DEVICE ALWAYS_INLINE Array< T > array_append_impl(const Array< T > in_arr, T val)

+ Here is the call graph for this function:

EXTENSION_NOINLINE Array<int16_t> array_append__1 ( const Array< int16_t >  in_arr,
const int16_t  val 
)

Definition at line 72 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl().

73  {
74 #ifndef __CUDACC__
75  return array_append_impl(in_arr, val);
76 #else
77  assert(false);
78  return Array<int16_t>(0, true);
79 #endif
80 }
DEVICE ALWAYS_INLINE Array< T > array_append_impl(const Array< T > in_arr, T val)

+ Here is the call graph for this function:

EXTENSION_NOINLINE Array<int8_t> array_append__2 ( const Array< int8_t >  in_arr,
const int8_t  val 
)

Definition at line 82 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl().

83  {
84 #ifndef __CUDACC__
85  return array_append_impl(in_arr, val);
86 #else
87  assert(false);
88  return Array<int8_t>(0, true);
89 #endif
90 }
DEVICE ALWAYS_INLINE Array< T > array_append_impl(const Array< T > in_arr, T val)

+ Here is the call graph for this function:

EXTENSION_NOINLINE Array<double> array_append__3 ( const Array< double >  in_arr,
const double  val 
)

Definition at line 92 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl().

93  {
94 #ifndef __CUDACC__
95  return array_append_impl(in_arr, val);
96 #else
97  assert(false);
98  return Array<double>(0, true);
99 #endif
100 }
DEVICE ALWAYS_INLINE Array< T > array_append_impl(const Array< T > in_arr, T val)

+ Here is the call graph for this function:

EXTENSION_NOINLINE Array<float> array_append__4 ( const Array< float >  in_arr,
const float  val 
)

Definition at line 102 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl().

103  {
104 #ifndef __CUDACC__
105  return array_append_impl(in_arr, val);
106 #else
107  assert(false);
108  return Array<float>(0, true);
109 #endif
110 }
DEVICE ALWAYS_INLINE Array< T > array_append_impl(const Array< T > in_arr, T val)

+ Here is the call graph for this function:

EXTENSION_NOINLINE Array<bool> barray_append ( const Array< bool >  in_arr,
const bool  val 
)

Definition at line 117 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::barray_append_impl().

117  {
118 #ifndef __CUDACC__
119  // we need to cast 'val' to int8_t type to represent null sentinel correctly
120  // i.e., NULL_BOOLEAN = -128
121  return barray_append_impl(in_arr, val);
122 #else
123  assert(false);
124  return Array<bool>(0, true);
125 #endif
126 }
DEVICE ALWAYS_INLINE Array< bool > barray_append_impl(const Array< bool > in_arr, const int8_t val)

+ Here is the call graph for this function: