GENIE
|
Classes | |
struct | _GPUGenie_Query_Data |
This struct is used to construct query in multirange mode. More... | |
class | CodecPerfData |
class | Logger |
A utility class to record logs into disk files. More... | |
class | MatchingPerfData |
class | PerfLogger |
class | ScanPerfData |
Typedefs | |
typedef struct genie::utility::_GPUGenie_Query_Data | attr_t |
Functions | |
void | read_file (std::vector< std::vector< int > > &dest, const char *fname, int num) |
void | read_query (genie::table::inv_table &table, const char *fname, std::vector< genie::query::Query > &queries, int num_of_queries, int num_of_query_dims, int radius, int topk, float selectivity) |
void | read_query (std::vector< attr_t > &data, const char *file_name, int num) |
void | Init (genie::Config &config) |
void | initScan (void) |
void | closeScan (void) |
__device__ uint | d_pow2ceil_32 (uint x) |
uint | h_pow2ceil_32 (uint x) |
__global__ void | g_scanExclusiveShared (uint4 *d_Dst, uint4 *d_Src, uint activeThreads, uint pow2size) |
__device__ void | d_scanExclusiveShared (uint4 *d_Dst, uint4 *d_Src, uint activeThreads, uint pow2size) |
__device__ void | d_scanExclusivePerBlockShared (uint4 *d_Dst, uint4 *d_Src, uint activeThreads, uint pow2size) |
__global__ void | g_scanInclusiveShared (uint4 *d_Dst, uint4 *d_Src, uint activeThreads, uint pow2size) |
__device__ void | d_scanInclusiveShared (uint4 *d_Dst, uint4 *d_Src, uint activeThreads, uint pow2size) |
__device__ void | d_scanInclusivePerBlockShared (uint4 *d_Dst, uint4 *d_Src, uint activeThreads, uint pow2size) |
size_t | scanExclusiveShort (unsigned int *d_Dst, unsigned int *d_Src, unsigned int arrayLength) |
size_t | scanExclusiveLarge (unsigned int *d_Dst, unsigned int *d_Src, unsigned int arrayLength) |
void | scanExclusiveHost (unsigned int *dst, unsigned int *src, unsigned int arrayLength) |
void | SaveTable (const std::string &filename, const std::shared_ptr< const genie::table::inv_table > &table) |
std::shared_ptr< genie::table::inv_table > | LoadTable (const std::string &filename) |
std::string | currentDateTime () |
Get current data time. More... | |
unsigned long long | getTime () |
Get system time. More... | |
double | getInterval (unsigned long long start, unsigned long long stop) |
Calculate time interval from start to end. More... | |
Variables | |
const unsigned int | GPUGENIE_QUERY_QID_INDEX = 0u |
const unsigned int | GPUGENIE_QUERY_DIM_INDEX = 1u |
const unsigned int | GPUGENIE_QUERY_VALUE_INDEX = 2u |
const unsigned int | GPUGENIE_QUERY_SELECTIVITY_INDEX = 3u |
const unsigned int | GPUGENIE_QUERY_WEIGHT_INDEX = 4u |
const unsigned int | GPUGENIE_QUERY_NUM_OF_FIELDS = 5u |
const unsigned int | SCAN_THREADBLOCK_SIZE = GPUGENIE_SCAN_THREADBLOCK_SIZE |
const unsigned int | SCAN_MIN_SHORT_ARRAY_SIZE = GPUGENIE_SCAN_MIN_SHORT_ARRAY_SIZE |
const unsigned int | SCAN_MAX_SHORT_ARRAY_SIZE = GPUGENIE_SCAN_MAX_SHORT_ARRAY_SIZE |
const unsigned int | SCAN_MIN_LARGE_ARRAY_SIZE = GPUGENIE_SCAN_MIN_LARGE_ARRAY_SIZE |
const unsigned int | SCAN_MAX_LARGE_ARRAY_SIZE = GPUGENIE_SCAN_MAX_LARGE_ARRAY_SIZE |
std::string genie::utility::currentDateTime | ( | ) |
__device__ void genie::utility::d_scanExclusivePerBlockShared | ( | uint4 * | d_Dst, |
uint4 * | d_Src, | ||
uint | activeThreads, | ||
uint | pow2size | ||
) |
__device__ void genie::utility::d_scanExclusiveShared | ( | uint4 * | d_Dst, |
uint4 * | d_Src, | ||
uint | activeThreads, | ||
uint | pow2size | ||
) |
__device__ void genie::utility::d_scanInclusivePerBlockShared | ( | uint4 * | d_Dst, |
uint4 * | d_Src, | ||
uint | activeThreads, | ||
uint | pow2size | ||
) |
__device__ void genie::utility::d_scanInclusiveShared | ( | uint4 * | d_Dst, |
uint4 * | d_Src, | ||
uint | activeThreads, | ||
uint | pow2size | ||
) |
__global__ void genie::utility::g_scanExclusiveShared | ( | uint4 * | d_Dst, |
uint4 * | d_Src, | ||
uint | activeThreads, | ||
uint | pow2size | ||
) |
__global__ void genie::utility::g_scanInclusiveShared | ( | uint4 * | d_Dst, |
uint4 * | d_Src, | ||
uint | activeThreads, | ||
uint | pow2size | ||
) |
double genie::utility::getInterval | ( | unsigned long long | start, |
unsigned long long | stop | ||
) |
unsigned long long genie::utility::getTime | ( | ) |
void genie::utility::Init | ( | genie::Config & | config | ) |
std::shared_ptr< genie::table::inv_table > genie::utility::LoadTable | ( | const std::string & | filename | ) |
Definition at line 42 of file serialization.cc.
void genie::utility::read_file | ( | std::vector< std::vector< int > > & | dest, |
const char * | fname, | ||
int | num | ||
) |
void genie::utility::read_query | ( | genie::table::inv_table & | table, |
const char * | fname, | ||
std::vector< genie::query::Query > & | queries, | ||
int | num_of_queries, | ||
int | num_of_query_dims, | ||
int | radius, | ||
int | topk, | ||
float | selectivity | ||
) |
void genie::utility::read_query | ( | std::vector< attr_t > & | data, |
const char * | file_name, | ||
int | num | ||
) |
void genie::utility::SaveTable | ( | const std::string & | filename, |
const std::shared_ptr< const genie::table::inv_table > & | table | ||
) |
Definition at line 24 of file serialization.cc.
void genie::utility::scanExclusiveHost | ( | unsigned int * | dst, |
unsigned int * | src, | ||
unsigned int | arrayLength | ||
) |
size_t genie::utility::scanExclusiveLarge | ( | unsigned int * | d_Dst, |
unsigned int * | d_Src, | ||
unsigned int | arrayLength | ||
) |
size_t genie::utility::scanExclusiveShort | ( | unsigned int * | d_Dst, |
unsigned int * | d_Src, | ||
unsigned int | arrayLength | ||
) |
const unsigned int genie::utility::GPUGENIE_QUERY_DIM_INDEX = 1u |
Definition at line 44 of file FileReader.h.
const unsigned int genie::utility::GPUGENIE_QUERY_NUM_OF_FIELDS = 5u |
Definition at line 60 of file FileReader.h.
const unsigned int genie::utility::GPUGENIE_QUERY_QID_INDEX = 0u |
Definition at line 40 of file FileReader.h.
const unsigned int genie::utility::GPUGENIE_QUERY_SELECTIVITY_INDEX = 3u |
Definition at line 52 of file FileReader.h.
const unsigned int genie::utility::GPUGENIE_QUERY_VALUE_INDEX = 2u |
Definition at line 48 of file FileReader.h.
const unsigned int genie::utility::GPUGENIE_QUERY_WEIGHT_INDEX = 4u |
Definition at line 56 of file FileReader.h.
const uint genie::utility::SCAN_MAX_LARGE_ARRAY_SIZE = GPUGENIE_SCAN_MAX_LARGE_ARRAY_SIZE |
const uint genie::utility::SCAN_MAX_SHORT_ARRAY_SIZE = GPUGENIE_SCAN_MAX_SHORT_ARRAY_SIZE |
const uint genie::utility::SCAN_MIN_LARGE_ARRAY_SIZE = GPUGENIE_SCAN_MIN_LARGE_ARRAY_SIZE |
const uint genie::utility::SCAN_MIN_SHORT_ARRAY_SIZE = GPUGENIE_SCAN_MIN_SHORT_ARRAY_SIZE |
const uint genie::utility::SCAN_THREADBLOCK_SIZE = GPUGENIE_SCAN_THREADBLOCK_SIZE |