GENIE
match_common.h File Reference

Basic utility functions to be used in matching kernels. More...

#include <cstdint>

Go to the source code of this file.

Classes

struct  genie::matching::data_t
 

Namespaces

 genie
 This is the top-level namespace of the project.
 
 genie::matching
 

Typedefs

typedef unsigned char u8
 
typedef uint32_t u32
 
typedef unsigned long long u64
 A type definition for a 64-bit unsigned integer. More...
 
typedef u64 T_HASHTABLE
 
typedef u32 T_KEY
 
typedef u32 T_AGE
 

Functions

__global__ void genie::matching::convert_to_data (T_HASHTABLE *table, u32 size)
 

Variables

const size_t genie::matching::MATCH_THREADS_PER_BLOCK = 256
 

Detailed Description

Basic utility functions to be used in matching kernels.

This header file has no standalone translation unit. Instead, it contains inline function definitions for matching. The reason is that nvcc treats forceinline and inline (in release mode only) functions as static = does not export symbols in the library, only inlines them, similarly to C.

Including this file allows two separate translation units to have a copy of these functions and inline them.

This file is not a standalone translation unit. Instead, it is directly included in sources of matching functions. The reason is that nvcc treats forceinline and inline (in release mode only) functions as static = does not export symbols in the library, only inlines them, similarly to C.

Including this file allows two separate translation units to have a copy of these functions and inline them.

Definition in file match_common.h.

Typedef Documentation

◆ T_AGE

typedef u32 T_AGE

Definition at line 23 of file match_common.h.

◆ T_HASHTABLE

typedef u64 T_HASHTABLE

Definition at line 21 of file match_common.h.

◆ T_KEY

typedef u32 T_KEY

Definition at line 22 of file match_common.h.

◆ u32

typedef uint32_t u32

Definition at line 18 of file match_common.h.

◆ u64

typedef unsigned long long u64

A type definition for a 64-bit unsigned integer.

Definition at line 19 of file match_common.h.

◆ u8

typedef unsigned char u8

Definition at line 17 of file match_common.h.