OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GpuInitGroups.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 HEAVY.AI, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
23 #ifndef GPUINITGROUPS_H
24 #define GPUINITGROUPS_H
25 #include <cstdint>
26 
27 void init_group_by_buffer_on_device(int64_t* groups_buffer,
28  const int64_t* init_vals,
29  const uint32_t groups_buffer_entry_count,
30  const uint32_t key_count,
31  const uint32_t key_width,
32  const uint32_t agg_col_count,
33  const bool keyless,
34  const int8_t warp_size,
35  const size_t block_size_x,
36  const size_t grid_size_x);
37 
38 void init_columnar_group_by_buffer_on_device(int64_t* groups_buffer,
39  const int64_t* init_vals,
40  const uint32_t groups_buffer_entry_count,
41  const uint32_t key_count,
42  const uint32_t agg_col_count,
43  const int8_t* col_sizes,
44  const bool need_padding,
45  const bool keyless,
46  const int8_t key_size,
47  const size_t block_size_x,
48  const size_t grid_size_x);
49 
50 #endif // GPUINITGROUPS_H
void init_columnar_group_by_buffer_on_device(int64_t *groups_buffer, const int64_t *init_vals, const uint32_t groups_buffer_entry_count, const uint32_t key_count, const uint32_t agg_col_count, const int8_t *col_sizes, const bool need_padding, const bool keyless, const int8_t key_size, const size_t block_size_x, const size_t grid_size_x)
void init_group_by_buffer_on_device(int64_t *groups_buffer, const int64_t *init_vals, const uint32_t groups_buffer_entry_count, const uint32_t key_count, const uint32_t key_width, const uint32_t row_size_quad, const bool keyless, const int8_t warp_size, const size_t block_size_x, const size_t grid_size_x)