GENIE
match_common.h
Go to the documentation of this file.
1 
11 #ifndef GENIE_MATCH_COMMON_H
12 #define GENIE_MATCH_COMMON_H
13 
14 #include <cstdint>
15 
16 
17 typedef unsigned char u8;
18 typedef uint32_t u32;
19 typedef unsigned long long u64;
20 
21 typedef u64 T_HASHTABLE;
22 typedef u32 T_KEY;
23 typedef u32 T_AGE;
24 
25 namespace genie
26 {
27 namespace matching
28 {
29 
34 struct data_t
35 {
36  uint32_t id;
37  float aggregation;
38 };
39 
40 
41 const size_t MATCH_THREADS_PER_BLOCK = 256;
42 
43 __global__
44 void convert_to_data(T_HASHTABLE* table, u32 size);
45 
46 } // namespace matching
47 } // namespace genie
48 
49 #endif
const size_t MATCH_THREADS_PER_BLOCK
Definition: match_common.h:41
This is the top-level namespace of the project.
u32 T_KEY
Definition: match_common.h:22
__global__ void convert_to_data(T_HASHTABLE *table, u32 size)
Definition: match_common.cu:10
unsigned char u8
Definition: match_common.h:17
uint32_t u32
Definition: match_common.h:18
unsigned long long u64
A type definition for a 64-bit unsigned integer.
Definition: match_common.h:19
u64 T_HASHTABLE
Definition: match_common.h:21
u32 T_AGE
Definition: match_common.h:23