GENIE
match.h File Reference

This file includes interfaces of original GENIE match functions. More...

#include <stdint.h>
#include <thrust/device_vector.h>
#include <genie/query/query.h>
#include <genie/table/inv_table.h>
#include "match_common.h"

Go to the source code of this file.

Namespaces

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

Functions

int genie::matching::cal_max_topk (std::vector< genie::query::Query > &queries)
 
void genie::matching::match (genie::table::inv_table &table, std::vector< genie::query::Query > &queries, thrust::device_vector< genie::matching::data_t > &d_data, thrust::device_vector< u32 > &d_bitmap, int hash_table_size, int max_load, int bitmap_bits, thrust::device_vector< u32 > &d_noiih, thrust::device_vector< u32 > &d_threshold, thrust::device_vector< u32 > &d_passCount)
 Search the inv_table and save the match result into d_count and d_aggregation. More...
 
void genie::matching::match_MT (std::vector< genie::table::inv_table *> &table, std::vector< std::vector< genie::query::Query > > &queries, std::vector< thrust::device_vector< genie::matching::data_t > > &d_data, std::vector< thrust::device_vector< u32 > > &d_bitmap, std::vector< int > &hash_table_size, std::vector< int > &max_load, int bitmap_bits, std::vector< thrust::device_vector< u32 > > &d_noiih, std::vector< thrust::device_vector< u32 > > &d_threshold, std::vector< thrust::device_vector< u32 > > &d_passCount, size_t start, size_t finish)
 
int genie::matching::build_queries (std::vector< genie::query::Query > &queries, genie::table::inv_table &table, std::vector< genie::query::Query::dim > &dims, int max_load)
 

Detailed Description

This file includes interfaces of original GENIE match functions.

Definition in file match.h.