OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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)
 
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 21 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), and assert().

22  {
23 #ifndef __CUDACC__
24  return array_append_impl(in_arr, val);
25 #else
26  assert(false);
27  return Array<int64_t>(0, true);
28 #endif
29 }
int64_t const int32_t sz assert(dest)
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 31 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), and assert().

32  {
33 #ifndef __CUDACC__
34  return array_append_impl(in_arr, val);
35 #else
36  assert(false);
37  return Array<int32_t>(0, true);
38 #endif
39 }
int64_t const int32_t sz assert(dest)
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 41 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), and assert().

42  {
43 #ifndef __CUDACC__
44  return array_append_impl(in_arr, val);
45 #else
46  assert(false);
47  return Array<int16_t>(0, true);
48 #endif
49 }
int64_t const int32_t sz assert(dest)
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 51 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), and assert().

52  {
53 #ifndef __CUDACC__
54  return array_append_impl(in_arr, val);
55 #else
56  assert(false);
57  return Array<int8_t>(0, true);
58 #endif
59 }
int64_t const int32_t sz assert(dest)
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 61 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), and assert().

62  {
63 #ifndef __CUDACC__
64  return array_append_impl(in_arr, val);
65 #else
66  assert(false);
67  return Array<double>(0, true);
68 #endif
69 }
int64_t const int32_t sz assert(dest)
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 71 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), and assert().

72  {
73 #ifndef __CUDACC__
74  return array_append_impl(in_arr, val);
75 #else
76  assert(false);
77  return Array<float>(0, true);
78 #endif
79 }
int64_t const int32_t sz assert(dest)
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 86 of file ExtensionFunctionsArray.hpp.

References anonymous_namespace{ExtensionFunctionsArray.hpp}::array_append_impl(), and assert().

86  {
87 #ifndef __CUDACC__
88  return array_append_impl(in_arr, val);
89 #else
90  assert(false);
91  return Array<bool>(0, true);
92 #endif
93 }
int64_t const int32_t sz assert(dest)
DEVICE ALWAYS_INLINE Array< T > array_append_impl(const Array< T > in_arr, T val)

+ Here is the call graph for this function: