OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RbcTestTableFunctions.cpp File Reference
+ Include dependency graph for RbcTestTableFunctions.cpp:

Go to the source code of this file.

Macros

#define CPU_DEVICE_CODE   0x637075;
 
#define GPU_DEVICE_CODE   0x677075;
 

Functions

EXTENSION_NOINLINE int32_t ct_device_selection_udtf_any (const Column< int32_t > &input, Column< int64_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_device_selection_udtf_cpu__cpu_ (const Column< int32_t > &input, Column< int64_t > &out)
 
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_gpu__gpu_ (const Column< int32_t > &input, Column< int64_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_device_selection_udtf_both__cpu_ (const Column< int32_t > &input, Column< int64_t > &out)
 
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_both__gpu_ (const Column< int32_t > &input, Column< int64_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_1 (const Column< int32_t > &input1, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_2 (const Column< int32_t > &input1, const Column< int32_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_3 (const Column< int32_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_4 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_5 (const Column< int64_t > &input1, const Column< int64_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_6 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int64_t > &input3, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_7 (const Column< int32_t > &input1, const ColumnList< int32_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_8 (const ColumnList< int32_t > &input1, const Column< int64_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_9 (const ColumnList< int32_t > &input1, const ColumnList< int64_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_10 (const Column< int64_t > &input1, const ColumnList< int64_t > &input2, const Column< int64_t > &input3, Column< int64_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_11 (const Column< int32_t > &input1, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_12 (const Column< int32_t > &input1, const Column< int32_t > &input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_13 (const Column< int32_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_14 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_15 (const Column< int64_t > &input1, const Column< int64_t > &input2, const Column< int32_t > &input3, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_16 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int64_t > &input3, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_17 (const Column< int32_t > &input1, const ColumnList< int32_t > &input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_18 (const ColumnList< int32_t > &input1, const Column< int64_t > &input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_19 (const ColumnList< int32_t > &input1, const ColumnList< int64_t > &input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_20 (const Column< int64_t > &input1, const ColumnList< int64_t > &input2, const Column< int64_t > &input3, const int32_t multiplier, Column< int64_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf2__cpu_21 (const int32_t multiplier, const Column< int32_t > &input1, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf6__cpu_22 (const Column< int32_t > &input1, const int32_t multiplier, const int32_t input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf4__cpu_23 (const ColumnList< int32_t > &input1, const int32_t multiplier, const int32_t input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf5__cpu_24 (const ColumnList< int32_t > &input1, const int32_t input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf3__cpu_25 (const Column< int32_t > &input1, const int32_t input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1a__cpu_1 (const Column< int32_t > &input1, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1b__cpu_2 (const Column< int32_t > &input1, const Column< int32_t > &input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1c__cpu_3 (const Column< int32_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, const int32_t multiplier, const Column< int32_t > &input4, const int32_t x, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1d__cpu_4 (const int32_t multiplier, const int32_t x, const Column< int32_t > &input1, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2a__cpu_1 (const Column< int32_t > &input1, const int32_t x, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2b__cpu_2 (const Column< int32_t > &input1, const int32_t multiplier, const Column< int32_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2c__cpu_3 (const int32_t x, const int32_t multiplier, const Column< int32_t > &input1, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer3a__cpu_1 (const Column< int32_t > &input1, const int32_t multiplier, const int32_t x, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer3b__cpu_2 (const Column< int32_t > &input1, const int32_t x, const Column< int32_t > &input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer4a__cpu_1 (const Column< int32_t > &input1, const int32_t multiplier, const Column< int32_t > &input2, const int32_t x, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer4b__cpu_2 (const int32_t multiplier, const Column< int32_t > &input, const int32_t x, Column< int32_t > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded1__cpu_1 (const Column< TextEncodingDict > &input, const int32_t multiplier, Column< TextEncodingDict > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded2__cpu_1 (const Column< TextEncodingDict > &input1, const Column< TextEncodingDict > &input2, Column< TextEncodingDict > &out1, Column< TextEncodingDict > &out2)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded3__cpu_1 (const Column< TextEncodingDict > &input1, const Column< TextEncodingDict > &input2, Column< TextEncodingDict > &out1, Column< TextEncodingDict > &out2)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded4__cpu_1 (const ColumnList< TextEncodingDict > &input, Column< TextEncodingDict > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded5__cpu_1 (const ColumnList< TextEncodingDict > &input, Column< TextEncodingDict > &out)
 
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded6__cpu_1 (const ColumnList< TextEncodingDict > &input, Column< TextEncodingDict > &out0, Column< TextEncodingDict > &out1)
 
template<typename T >
NEVER_INLINE HOST int32_t ct_binding_template__cpu_template (const Column< T > &input, Column< T > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_template__cpu_template (const Column< int > &input, Column< int > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_template__cpu_template (const Column< TextEncodingDict > &input, Column< TextEncodingDict > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_template__cpu_template (const Column< float > &input, Column< float > &out)
 
template<typename T >
NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template (const Column< T > &input1, const ColumnList< T > &input2, Column< int32_t > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template (const Column< int32_t > &input1, const ColumnList< int32_t > &input2, Column< int32_t > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template (const Column< float > &input1, const ColumnList< float > &input2, Column< int32_t > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template (const Column< TextEncodingDict > &input1, const ColumnList< TextEncodingDict > &input2, Column< int32_t > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template (const Column< int16_t > &input1, const ColumnList< int16_t > &input2, Column< int32_t > &out)
 
template<typename T >
NEVER_INLINE HOST int32_t ct_binding_column__cpu_template (const Column< T > &input, Column< int32_t > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_column__cpu_template (const Column< int32_t > &input, Column< int32_t > &out)
 
template NEVER_INLINE HOST int32_t ct_binding_column__cpu_template (const Column< float > &input, Column< int32_t > &out)
 

Macro Definition Documentation

#define CPU_DEVICE_CODE   0x637075;
#define GPU_DEVICE_CODE   0x677075;

Function Documentation

template<typename T >
NEVER_INLINE HOST int32_t ct_binding_column__cpu_template ( const Column< T > &  input,
Column< int32_t > &  out 
)

Definition at line 507 of file RbcTestTableFunctions.cpp.

References set_output_row_size().

508  {
510  if constexpr (std::is_same<T, int32_t>::value) {
511  out[0] = 10;
512  } else {
513  out[0] = 20;
514  }
515  return 1;
516 }
EXTENSION_NOINLINE_HOST void set_output_row_size(int64_t num_rows)

+ Here is the call graph for this function:

template NEVER_INLINE HOST int32_t ct_binding_column__cpu_template ( const Column< int32_t > &  input,
Column< int32_t > &  out 
)
template NEVER_INLINE HOST int32_t ct_binding_column__cpu_template ( const Column< float > &  input,
Column< int32_t > &  out 
)
template<typename T >
NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template ( const Column< T > &  input1,
const ColumnList< T > &  input2,
Column< int32_t > &  out 
)

Definition at line 468 of file RbcTestTableFunctions.cpp.

References set_output_row_size().

470  {
472  if constexpr (std::is_same<T, int32_t>::value) {
473  out[0] = 1;
474  } else if constexpr (std::is_same<T, float>::value) {
475  out[0] = 2;
476  } else if constexpr (std::is_same<T, TextEncodingDict>::value) {
477  out[0] = 3;
478  } else {
479  out[0] = 4;
480  }
481  return 1;
482 }
EXTENSION_NOINLINE_HOST void set_output_row_size(int64_t num_rows)

+ Here is the call graph for this function:

template NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template ( const Column< int32_t > &  input1,
const ColumnList< int32_t > &  input2,
Column< int32_t > &  out 
)
template NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template ( const Column< float > &  input1,
const ColumnList< float > &  input2,
Column< int32_t > &  out 
)
template NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template ( const Column< TextEncodingDict > &  input1,
const ColumnList< TextEncodingDict > &  input2,
Column< int32_t > &  out 
)
template NEVER_INLINE HOST int32_t ct_binding_columnlist__cpu_template ( const Column< int16_t > &  input1,
const ColumnList< int16_t > &  input2,
Column< int32_t > &  out 
)
EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded1__cpu_1 ( const Column< TextEncodingDict > &  input,
const int32_t  multiplier,
Column< TextEncodingDict > &  out 
)

Definition at line 370 of file RbcTestTableFunctions.cpp.

References Column< TextEncodingDict >::size().

372  {
373  for (int64_t i = 0; i < input.size(); i++) {
374  out[i] = input[i]; // assign string id
375  }
376  return multiplier * input.size();
377 }
DEVICE int64_t size() const

+ Here is the call graph for this function:

EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded2__cpu_1 ( const Column< TextEncodingDict > &  input1,
const Column< TextEncodingDict > &  input2,
Column< TextEncodingDict > &  out1,
Column< TextEncodingDict > &  out2 
)

Definition at line 380 of file RbcTestTableFunctions.cpp.

References set_output_row_size(), and Column< TextEncodingDict >::size().

383  {
384  set_output_row_size(input1.size());
385  for (int64_t i = 0; i < input1.size(); i++) {
386  out1[i] = input1[i];
387  out2[i] = input2[i];
388  }
389  return input1.size();
390 }
EXTENSION_NOINLINE_HOST void set_output_row_size(int64_t num_rows)
DEVICE int64_t size() const

+ Here is the call graph for this function:

EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded3__cpu_1 ( const Column< TextEncodingDict > &  input1,
const Column< TextEncodingDict > &  input2,
Column< TextEncodingDict > &  out1,
Column< TextEncodingDict > &  out2 
)

Definition at line 393 of file RbcTestTableFunctions.cpp.

References set_output_row_size(), and Column< TextEncodingDict >::size().

396  {
397  set_output_row_size(input1.size());
398  for (int64_t i = 0; i < input1.size(); i++) {
399  out1[i] = input2[i];
400  out2[i] = input1[i];
401  }
402  return input1.size();
403 }
EXTENSION_NOINLINE_HOST void set_output_row_size(int64_t num_rows)
DEVICE int64_t size() const

+ Here is the call graph for this function:

EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded4__cpu_1 ( const ColumnList< TextEncodingDict > &  input,
Column< TextEncodingDict > &  out 
)

Definition at line 406 of file RbcTestTableFunctions.cpp.

References set_output_row_size(), and ColumnList< TextEncodingDict >::size().

407  {
408  int64_t sz = input[0].size();
410  for (int64_t i = 0; i < sz; i++) {
411  out[i] = input[0][i];
412  }
413  return sz;
414 }
EXTENSION_NOINLINE_HOST void set_output_row_size(int64_t num_rows)
DEVICE int64_t size() const

+ Here is the call graph for this function:

EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded5__cpu_1 ( const ColumnList< TextEncodingDict > &  input,
Column< TextEncodingDict > &  out 
)

Definition at line 417 of file RbcTestTableFunctions.cpp.

References set_output_row_size(), and ColumnList< TextEncodingDict >::size().

418  {
419  int64_t sz = input[1].size();
421  for (int64_t i = 0; i < sz; i++) {
422  out[i] = input[1][i];
423  }
424  return sz;
425 }
EXTENSION_NOINLINE_HOST void set_output_row_size(int64_t num_rows)
DEVICE int64_t size() const

+ Here is the call graph for this function:

EXTENSION_NOINLINE_HOST int32_t ct_binding_dict_encoded6__cpu_1 ( const ColumnList< TextEncodingDict > &  input,
Column< TextEncodingDict > &  out0,
Column< TextEncodingDict > &  out1 
)

Definition at line 428 of file RbcTestTableFunctions.cpp.

References set_output_row_size(), and ColumnList< TextEncodingDict >::size().

430  {
431  int64_t sz = input[0].size();
433  for (int64_t i = 0; i < sz; i++) {
434  out0[i] = input[0][i];
435  out1[i] = input[1][i];
436  }
437  return sz;
438 }
EXTENSION_NOINLINE_HOST void set_output_row_size(int64_t num_rows)
DEVICE int64_t size() const

+ Here is the call graph for this function:

template<typename T >
NEVER_INLINE HOST int32_t ct_binding_template__cpu_template ( const Column< T > &  input,
Column< T > &  out 
)

Definition at line 445 of file RbcTestTableFunctions.cpp.

References set_output_row_size(), and Column< T >::size().

446  {
447  set_output_row_size(input.size());
448  for (int64_t i = 0; i < input.size(); i++) {
449  out[i] = input[i];
450  }
451  return input.size();
452 }
EXTENSION_NOINLINE_HOST void set_output_row_size(int64_t num_rows)
DEVICE int64_t size() const

+ Here is the call graph for this function:

template NEVER_INLINE HOST int32_t ct_binding_template__cpu_template ( const Column< int > &  input,
Column< int > &  out 
)
template NEVER_INLINE HOST int32_t ct_binding_template__cpu_template ( const Column< TextEncodingDict > &  input,
Column< TextEncodingDict > &  out 
)
template NEVER_INLINE HOST int32_t ct_binding_template__cpu_template ( const Column< float > &  input,
Column< float > &  out 
)
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf2__cpu_21 ( const int32_t  multiplier,
const Column< int32_t > &  input1,
Column< int32_t > &  out 
)

Definition at line 227 of file RbcTestTableFunctions.cpp.

229  {
230  out[0] = 1000 + 91 + multiplier;
231  return 1;
232 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf3__cpu_25 ( const Column< int32_t > &  input1,
const int32_t  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 256 of file RbcTestTableFunctions.cpp.

259  {
260  out[0] = 1000 + 169 + multiplier + 10 * input2;
261  return 1;
262 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf4__cpu_23 ( const ColumnList< int32_t > &  input1,
const int32_t  multiplier,
const int32_t  input2,
Column< int32_t > &  out 
)

Definition at line 241 of file RbcTestTableFunctions.cpp.

244  {
245  out[0] = 1000 + 396 + multiplier + 10 * input2;
246  return 1;
247 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf5__cpu_24 ( const ColumnList< int32_t > &  input1,
const int32_t  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 249 of file RbcTestTableFunctions.cpp.

252  {
253  out[0] = 1000 + 369 + multiplier + 10 * input2;
254  return 1;
255 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf6__cpu_22 ( const Column< int32_t > &  input1,
const int32_t  multiplier,
const int32_t  input2,
Column< int32_t > &  out 
)

Definition at line 233 of file RbcTestTableFunctions.cpp.

236  {
237  out[0] = 1000 + 196 + multiplier + 10 * input2;
238  return 1;
239 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_11 ( const Column< int32_t > &  input1,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 152 of file RbcTestTableFunctions.cpp.

154  {
155  out[0] = 1000 + 19 + multiplier;
156  return 1;
157 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_12 ( const Column< int32_t > &  input1,
const Column< int32_t > &  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 158 of file RbcTestTableFunctions.cpp.

161  {
162  out[0] = 1000 + 119 + multiplier;
163  return 1;
164 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_13 ( const Column< int32_t > &  input1,
const Column< int32_t > &  input2,
const Column< int32_t > &  input3,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 165 of file RbcTestTableFunctions.cpp.

169  {
170  out[0] = 1000 + 1119 + multiplier;
171  return 1;
172 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_14 ( const Column< int64_t > &  input1,
const Column< int32_t > &  input2,
const Column< int32_t > &  input3,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 173 of file RbcTestTableFunctions.cpp.

177  {
178  out[0] = 1000 + 2119 + multiplier;
179  return 1;
180 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_15 ( const Column< int64_t > &  input1,
const Column< int64_t > &  input2,
const Column< int32_t > &  input3,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 181 of file RbcTestTableFunctions.cpp.

185  {
186  out[0] = 1000 + 2219 + multiplier;
187  return 1;
188 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_16 ( const Column< int64_t > &  input1,
const Column< int32_t > &  input2,
const Column< int64_t > &  input3,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 189 of file RbcTestTableFunctions.cpp.

193  {
194  out[0] = 1000 + 2129 + multiplier;
195  return 1;
196 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_17 ( const Column< int32_t > &  input1,
const ColumnList< int32_t > &  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 197 of file RbcTestTableFunctions.cpp.

200  {
201  out[0] = 1000 + 139 + multiplier;
202  return 1;
203 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_18 ( const ColumnList< int32_t > &  input1,
const Column< int64_t > &  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 204 of file RbcTestTableFunctions.cpp.

207  {
208  out[0] = 1000 + 329 + multiplier;
209  return 1;
210 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_19 ( const ColumnList< int32_t > &  input1,
const ColumnList< int64_t > &  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 211 of file RbcTestTableFunctions.cpp.

214  {
215  out[0] = 1000 + 349 + multiplier;
216  return 1;
217 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf__cpu_20 ( const Column< int64_t > &  input1,
const ColumnList< int64_t > &  input2,
const Column< int64_t > &  input3,
const int32_t  multiplier,
Column< int64_t > &  out 
)

Definition at line 218 of file RbcTestTableFunctions.cpp.

222  {
223  out[0] = 1000 + 2429 + multiplier;
224  return 1;
225 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_1 ( const Column< int32_t > &  input1,
Column< int32_t > &  out 
)

Definition at line 79 of file RbcTestTableFunctions.cpp.

79  {
80  out[0] = 1;
81  return 1;
82 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_10 ( const Column< int64_t > &  input1,
const ColumnList< int64_t > &  input2,
const Column< int64_t > &  input3,
Column< int64_t > &  out 
)

Definition at line 144 of file RbcTestTableFunctions.cpp.

147  {
148  out[0] = 242;
149  return 1;
150 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_2 ( const Column< int32_t > &  input1,
const Column< int32_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 84 of file RbcTestTableFunctions.cpp.

86  {
87  out[0] = 11;
88  return 1;
89 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_3 ( const Column< int32_t > &  input1,
const Column< int32_t > &  input2,
const Column< int32_t > &  input3,
Column< int32_t > &  out 
)

Definition at line 91 of file RbcTestTableFunctions.cpp.

94  {
95  out[0] = 111;
96  return 1;
97 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_4 ( const Column< int64_t > &  input1,
const Column< int32_t > &  input2,
const Column< int32_t > &  input3,
Column< int32_t > &  out 
)

Definition at line 99 of file RbcTestTableFunctions.cpp.

102  {
103  out[0] = 211;
104  return 1;
105 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_5 ( const Column< int64_t > &  input1,
const Column< int64_t > &  input2,
const Column< int32_t > &  input3,
Column< int32_t > &  out 
)

Definition at line 107 of file RbcTestTableFunctions.cpp.

110  {
111  out[0] = 221;
112  return 1;
113 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_6 ( const Column< int64_t > &  input1,
const Column< int32_t > &  input2,
const Column< int64_t > &  input3,
Column< int32_t > &  out 
)

Definition at line 115 of file RbcTestTableFunctions.cpp.

118  {
119  out[0] = 212;
120  return 1;
121 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_7 ( const Column< int32_t > &  input1,
const ColumnList< int32_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 123 of file RbcTestTableFunctions.cpp.

125  {
126  out[0] = 13;
127  return 1;
128 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_8 ( const ColumnList< int32_t > &  input1,
const Column< int64_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 130 of file RbcTestTableFunctions.cpp.

132  {
133  out[0] = 32;
134  return 1;
135 }
EXTENSION_NOINLINE_HOST int32_t ct_binding_udtf_constant__cpu_9 ( const ColumnList< int32_t > &  input1,
const ColumnList< int64_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 137 of file RbcTestTableFunctions.cpp.

139  {
140  out[0] = 34;
141  return 1;
142 }
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_any ( const Column< int32_t > &  input,
Column< int64_t > &  out 
)

Definition at line 28 of file RbcTestTableFunctions.cpp.

References CPU_DEVICE_CODE, and GPU_DEVICE_CODE.

28  {
29 #ifdef __CUDACC__
30  out[0] = GPU_DEVICE_CODE;
31 #else
32  out[0] = CPU_DEVICE_CODE;
33 #endif
34  return 1;
35 }
#define GPU_DEVICE_CODE
#define CPU_DEVICE_CODE
EXTENSION_NOINLINE_HOST int32_t ct_device_selection_udtf_both__cpu_ ( const Column< int32_t > &  input,
Column< int64_t > &  out 
)

Definition at line 58 of file RbcTestTableFunctions.cpp.

References CPU_DEVICE_CODE.

59  {
60  out[0] = CPU_DEVICE_CODE;
61  return 1;
62 }
#define CPU_DEVICE_CODE
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_both__gpu_ ( const Column< int32_t > &  input,
Column< int64_t > &  out 
)

Definition at line 67 of file RbcTestTableFunctions.cpp.

References GPU_DEVICE_CODE.

68  {
69  out[0] = GPU_DEVICE_CODE;
70  return 1;
71 }
#define GPU_DEVICE_CODE
EXTENSION_NOINLINE_HOST int32_t ct_device_selection_udtf_cpu__cpu_ ( const Column< int32_t > &  input,
Column< int64_t > &  out 
)

Definition at line 40 of file RbcTestTableFunctions.cpp.

References CPU_DEVICE_CODE.

41  {
42  out[0] = CPU_DEVICE_CODE;
43  return 1;
44 }
#define CPU_DEVICE_CODE
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_gpu__gpu_ ( const Column< int32_t > &  input,
Column< int64_t > &  out 
)

Definition at line 49 of file RbcTestTableFunctions.cpp.

References GPU_DEVICE_CODE.

50  {
51  out[0] = GPU_DEVICE_CODE;
52  return 1;
53 }
#define GPU_DEVICE_CODE
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1a__cpu_1 ( const Column< int32_t > &  input1,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 273 of file RbcTestTableFunctions.cpp.

275  {
276  out[0] = 1000 + 1 + 10 * multiplier;
277  return 1;
278 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1b__cpu_2 ( const Column< int32_t > &  input1,
const Column< int32_t > &  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 280 of file RbcTestTableFunctions.cpp.

283  {
284  out[0] = 1000 + 2 + 11 * multiplier;
285  return 1;
286 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1c__cpu_3 ( const Column< int32_t > &  input1,
const Column< int32_t > &  input2,
const Column< int32_t > &  input3,
const int32_t  multiplier,
const Column< int32_t > &  input4,
const int32_t  x,
Column< int32_t > &  out 
)

Definition at line 288 of file RbcTestTableFunctions.cpp.

294  {
295  out[0] = 1000 + 101 + 10 * multiplier + x;
296  return 1;
297 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer1d__cpu_4 ( const int32_t  multiplier,
const int32_t  x,
const Column< int32_t > &  input1,
Column< int32_t > &  out 
)

Definition at line 299 of file RbcTestTableFunctions.cpp.

302  {
303  out[0] = 1000 + 99 + 10 * multiplier + x;
304  return 1;
305 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2a__cpu_1 ( const Column< int32_t > &  input1,
const int32_t  x,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 307 of file RbcTestTableFunctions.cpp.

310  {
311  out[0] = 1000 + 98 + multiplier + 10 * x;
312  return 1;
313 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2b__cpu_2 ( const Column< int32_t > &  input1,
const int32_t  multiplier,
const Column< int32_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 315 of file RbcTestTableFunctions.cpp.

318  {
319  out[0] = 1000 + 2 + multiplier;
320  return 1;
321 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer2c__cpu_3 ( const int32_t  x,
const int32_t  multiplier,
const Column< int32_t > &  input1,
Column< int32_t > &  out 
)

Definition at line 323 of file RbcTestTableFunctions.cpp.

326  {
327  out[0] = 1000 + 99 + multiplier + 11 * x;
328  return 1;
329 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer3a__cpu_1 ( const Column< int32_t > &  input1,
const int32_t  multiplier,
const int32_t  x,
Column< int32_t > &  out 
)

Definition at line 331 of file RbcTestTableFunctions.cpp.

334  {
335  out[0] = 1000 + 98 + 100 * multiplier + x;
336  return 1;
337 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer3b__cpu_2 ( const Column< int32_t > &  input1,
const int32_t  x,
const Column< int32_t > &  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 339 of file RbcTestTableFunctions.cpp.

343  {
344  out[0] = 1000 + 99 + 100 * multiplier + x;
345  return 1;
346 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer4a__cpu_1 ( const Column< int32_t > &  input1,
const int32_t  multiplier,
const Column< int32_t > &  input2,
const int32_t  x,
Column< int32_t > &  out 
)

Definition at line 348 of file RbcTestTableFunctions.cpp.

352  {
353  out[0] = 1000 + 99 + 10 * multiplier + x;
354  return 1;
355 }
EXTENSION_NOINLINE_HOST int32_t ct_udtf_default_sizer4b__cpu_2 ( const int32_t  multiplier,
const Column< int32_t > &  input,
const int32_t  x,
Column< int32_t > &  out 
)

Definition at line 357 of file RbcTestTableFunctions.cpp.

360  {
361  out[0] = 1000 + 99 + 9 * multiplier + x;
362  return 1;
363 }