OmniSciDB  85c2d10cdc
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TableFunctionsTesting.hpp File Reference
+ This graph shows which files directly or indirectly include this file:

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 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 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 int32_t ct_binding_udtf__cpu_1 (const Column< int32_t > &input1, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_2 (const Column< int32_t > &input1, const Column< int32_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_3 (const Column< int32_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_4 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_5 (const Column< int64_t > &input1, const Column< int64_t > &input2, const Column< int32_t > &input3, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_6 (const Column< int64_t > &input1, const Column< int32_t > &input2, const Column< int64_t > &input3, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_7 (const Column< int32_t > &input1, const ColumnList< int32_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_8 (const ColumnList< int32_t > &input1, const Column< int64_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_9 (const ColumnList< int32_t > &input1, const ColumnList< int64_t > &input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_10 (const Column< int64_t > &input1, const ColumnList< int64_t > &input2, const Column< int64_t > &input3, Column< int64_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_11 (const Column< int32_t > &input1, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE 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 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 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 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 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 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 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 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 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 int32_t ct_binding_udtf2__cpu_21 (const int32_t multiplier, const Column< int32_t > &input1, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_22 (const Column< int32_t > &input1, const int32_t multiplier, const int32_t input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_23 (const ColumnList< int32_t > &input1, const int32_t multiplier, const int32_t input2, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf2__cpu_24 (const ColumnList< int32_t > &input1, const int32_t input2, const int32_t multiplier, Column< int32_t > &out)
 
EXTENSION_NOINLINE int32_t ct_binding_udtf3__cpu_25 (const Column< int32_t > &input1, const int32_t input2, const int32_t multiplier, Column< int32_t > &out)
 

Macro Definition Documentation

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

Function Documentation

EXTENSION_NOINLINE int32_t ct_binding_udtf2__cpu_21 ( const int32_t  multiplier,
const Column< int32_t > &  input1,
Column< int32_t > &  out 
)

Definition at line 237 of file TableFunctionsTesting.hpp.

239  {
240  out[0] = 1000 + 91;
241  return 1;
242 }
EXTENSION_NOINLINE int32_t ct_binding_udtf2__cpu_24 ( const ColumnList< int32_t > &  input1,
const int32_t  input2,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 257 of file TableFunctionsTesting.hpp.

260  {
261  out[0] = 1000 + 369;
262  return 1;
263 }
EXTENSION_NOINLINE 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 264 of file TableFunctionsTesting.hpp.

267  {
268  out[0] = 1000 + 169;
269  return 1;
270 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_1 ( const Column< int32_t > &  input1,
Column< int32_t > &  out 
)

Definition at line 97 of file TableFunctionsTesting.hpp.

98  {
99  out[0] = 1;
100  return 1;
101 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_10 ( const Column< int64_t > &  input1,
const ColumnList< int64_t > &  input2,
const Column< int64_t > &  input3,
Column< int64_t > &  out 
)

Definition at line 154 of file TableFunctionsTesting.hpp.

157  {
158  out[0] = 242;
159  return 1;
160 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_11 ( const Column< int32_t > &  input1,
const int32_t  multiplier,
Column< int32_t > &  out 
)

Definition at line 162 of file TableFunctionsTesting.hpp.

164  {
165  out[0] = 1000 + 19;
166  return 1;
167 }
EXTENSION_NOINLINE 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 168 of file TableFunctionsTesting.hpp.

171  {
172  out[0] = 1000 + 119;
173  return 1;
174 }
EXTENSION_NOINLINE 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 175 of file TableFunctionsTesting.hpp.

179  {
180  out[0] = 1000 + 1119;
181  return 1;
182 }
EXTENSION_NOINLINE 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 183 of file TableFunctionsTesting.hpp.

187  {
188  out[0] = 1000 + 2119;
189  return 1;
190 }
EXTENSION_NOINLINE 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 191 of file TableFunctionsTesting.hpp.

195  {
196  out[0] = 1000 + 2219;
197  return 1;
198 }
EXTENSION_NOINLINE 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 199 of file TableFunctionsTesting.hpp.

203  {
204  out[0] = 1000 + 2129;
205  return 1;
206 }
EXTENSION_NOINLINE 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 207 of file TableFunctionsTesting.hpp.

210  {
211  out[0] = 1000 + 139;
212  return 1;
213 }
EXTENSION_NOINLINE 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 214 of file TableFunctionsTesting.hpp.

217  {
218  out[0] = 1000 + 329;
219  return 1;
220 }
EXTENSION_NOINLINE 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 221 of file TableFunctionsTesting.hpp.

224  {
225  out[0] = 1000 + 349;
226  return 1;
227 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_2 ( const Column< int32_t > &  input1,
const Column< int32_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 102 of file TableFunctionsTesting.hpp.

104  {
105  out[0] = 11;
106  return 1;
107 }
EXTENSION_NOINLINE 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 228 of file TableFunctionsTesting.hpp.

232  {
233  out[0] = 1000 + 2429;
234  return 1;
235 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_22 ( const Column< int32_t > &  input1,
const int32_t  multiplier,
const int32_t  input2,
Column< int32_t > &  out 
)

Definition at line 243 of file TableFunctionsTesting.hpp.

246  {
247  out[0] = 1000 + 196;
248  return 1;
249 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_23 ( const ColumnList< int32_t > &  input1,
const int32_t  multiplier,
const int32_t  input2,
Column< int32_t > &  out 
)

Definition at line 250 of file TableFunctionsTesting.hpp.

253  {
254  out[0] = 1000 + 396;
255  return 1;
256 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_3 ( const Column< int32_t > &  input1,
const Column< int32_t > &  input2,
const Column< int32_t > &  input3,
Column< int32_t > &  out 
)

Definition at line 108 of file TableFunctionsTesting.hpp.

111  {
112  out[0] = 111;
113  return 1;
114 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_4 ( const Column< int64_t > &  input1,
const Column< int32_t > &  input2,
const Column< int32_t > &  input3,
Column< int32_t > &  out 
)

Definition at line 115 of file TableFunctionsTesting.hpp.

118  {
119  out[0] = 211;
120  return 1;
121 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_5 ( const Column< int64_t > &  input1,
const Column< int64_t > &  input2,
const Column< int32_t > &  input3,
Column< int32_t > &  out 
)

Definition at line 122 of file TableFunctionsTesting.hpp.

125  {
126  out[0] = 221;
127  return 1;
128 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_6 ( const Column< int64_t > &  input1,
const Column< int32_t > &  input2,
const Column< int64_t > &  input3,
Column< int32_t > &  out 
)

Definition at line 129 of file TableFunctionsTesting.hpp.

132  {
133  out[0] = 212;
134  return 1;
135 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_7 ( const Column< int32_t > &  input1,
const ColumnList< int32_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 136 of file TableFunctionsTesting.hpp.

138  {
139  out[0] = 13;
140  return 1;
141 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_8 ( const ColumnList< int32_t > &  input1,
const Column< int64_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 142 of file TableFunctionsTesting.hpp.

144  {
145  out[0] = 32;
146  return 1;
147 }
EXTENSION_NOINLINE int32_t ct_binding_udtf__cpu_9 ( const ColumnList< int32_t > &  input1,
const ColumnList< int64_t > &  input2,
Column< int32_t > &  out 
)

Definition at line 148 of file TableFunctionsTesting.hpp.

150  {
151  out[0] = 34;
152  return 1;
153 }
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_any ( const Column< int32_t > &  input,
Column< int64_t > &  out 
)

Definition at line 20 of file TableFunctionsTesting.hpp.

References CPU_DEVICE_CODE, and GPU_DEVICE_CODE.

20  {
21 #ifdef __CUDACC__
22  out[0] = GPU_DEVICE_CODE;
23 #else
24  out[0] = CPU_DEVICE_CODE;
25 #endif
26  return 1;
27 }
#define CPU_DEVICE_CODE
#define GPU_DEVICE_CODE
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_both__cpu_ ( const Column< int32_t > &  input,
Column< int64_t > &  out 
)

Definition at line 44 of file TableFunctionsTesting.hpp.

References CPU_DEVICE_CODE.

45  {
46  out[0] = CPU_DEVICE_CODE;
47  return 1;
48 }
#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 51 of file TableFunctionsTesting.hpp.

References GPU_DEVICE_CODE.

52  {
53  out[0] = GPU_DEVICE_CODE;
54  return 1;
55 }
#define GPU_DEVICE_CODE
EXTENSION_NOINLINE int32_t ct_device_selection_udtf_cpu__cpu_ ( const Column< int32_t > &  input,
Column< int64_t > &  out 
)

Definition at line 30 of file TableFunctionsTesting.hpp.

References CPU_DEVICE_CODE.

31  {
32  out[0] = CPU_DEVICE_CODE;
33  return 1;
34 }
#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 37 of file TableFunctionsTesting.hpp.

References GPU_DEVICE_CODE.

38  {
39  out[0] = GPU_DEVICE_CODE;
40  return 1;
41 }
#define GPU_DEVICE_CODE