warpcore 0.0.1
Hashing at the Speed of Light on modern CUDA-accelerators
warpcore::kernels Namespace Reference

CUDA kernels. More...

Namespaces

 bloom_filter
 

Functions

template<class T , T Val = 0>
GLOBALQUALIFIER void memset (T *const arr, const index_t num)
 
template<class Func , class Core >
GLOBALQUALIFIER void for_each (Func f, const Core core)
 
template<class Func , class Core >
GLOBALQUALIFIER void for_each_unique_key (Func f, const Core core)
 
template<class Func , class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void for_each (Func f, const typename Core::key_type *const keys_in, const index_t num_in, const Core core, const index_t probing_length=defaults::probing_length(), typename StatusHandler::base_type *const status_out=nullptr)
 
template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void insert (const typename Core::key_type *const keys_in, const index_t num_in, Core core, const index_t probing_length=defaults::probing_length(), typename StatusHandler::base_type *const status_out=nullptr)
 
template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void insert (const typename Core::key_type *const keys_in, const typename Core::value_type *const values_in, const index_t num_in, Core core, const index_t probing_length=defaults::probing_length(), typename StatusHandler::base_type *const status_out=nullptr)
 
template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void retrieve (const typename Core::key_type *const keys_in, const index_t num_in, typename Core::value_type *const values_out, const Core core, const index_t probing_length=defaults::probing_length(), typename StatusHandler::base_type *const status_out=nullptr)
 
template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void retrieve (const typename Core::key_type *const keys_in, const index_t num_in, const index_t *const begin_offsets_in, const index_t *const end_offsets_in, typename Core::value_type *const values_out, const Core core, const index_t probing_length=defaults::probing_length(), typename StatusHandler::base_type *const status_out=nullptr)
 
template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void erase (const typename Core::key_type *const keys_in, const index_t num_in, Core core, const index_t probing_length=defaults::probing_length(), typename StatusHandler::base_type *const status_out=nullptr)
 
template<class Core >
GLOBALQUALIFIER void size (index_t *const num_out, const Core core)
 
template<class Core >
GLOBALQUALIFIER void num_values (index_t *const num_out, const Core core)
 
template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void num_values (const typename Core::key_type *const keys_in, const index_t num_in, index_t *const num_out, index_t *const num_per_key_out, const Core core, const index_t probing_length=defaults::probing_length(), typename StatusHandler::base_type *const status_out=nullptr)
 

Detailed Description

CUDA kernels.

Function Documentation

◆ erase()

template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void warpcore::kernels::erase ( const typename Core::key_type *const  keys_in,
const index_t  num_in,
Core  core,
const index_t  probing_length = defaults::probing_length(),
typename StatusHandler::base_type *const  status_out = nullptr 
)

Definition at line 354 of file gpu_engine.cuh.

◆ for_each() [1/2]

template<class Func , class Core >
GLOBALQUALIFIER void warpcore::kernels::for_each ( Func  f,
const Core  core 
)

Definition at line 32 of file gpu_engine.cuh.

◆ for_each() [2/2]

template<class Func , class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void warpcore::kernels::for_each ( Func  f,
const typename Core::key_type *const  keys_in,
const index_t  num_in,
const Core  core,
const index_t  probing_length = defaults::probing_length(),
typename StatusHandler::base_type *const  status_out = nullptr 
)

Definition at line 100 of file gpu_engine.cuh.

◆ for_each_unique_key()

template<class Func , class Core >
GLOBALQUALIFIER void warpcore::kernels::for_each_unique_key ( Func  f,
const Core  core 
)

Definition at line 52 of file gpu_engine.cuh.

◆ insert() [1/2]

template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void warpcore::kernels::insert ( const typename Core::key_type *const  keys_in,
const index_t  num_in,
Core  core,
const index_t  probing_length = defaults::probing_length(),
typename StatusHandler::base_type *const  status_out = nullptr 
)

Definition at line 179 of file gpu_engine.cuh.

◆ insert() [2/2]

template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void warpcore::kernels::insert ( const typename Core::key_type *const  keys_in,
const typename Core::value_type *const  values_in,
const index_t  num_in,
Core  core,
const index_t  probing_length = defaults::probing_length(),
typename StatusHandler::base_type *const  status_out = nullptr 
)

Definition at line 205 of file gpu_engine.cuh.

◆ memset()

template<class T , T Val = 0>
GLOBALQUALIFIER void warpcore::kernels::memset ( T *const  arr,
const index_t  num 
)

Definition at line 16 of file gpu_engine.cuh.

◆ num_values() [1/2]

template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void warpcore::kernels::num_values ( const typename Core::key_type *const  keys_in,
const index_t  num_in,
index_t *const  num_out,
index_t *const  num_per_key_out,
const Core  core,
const index_t  probing_length = defaults::probing_length(),
typename StatusHandler::base_type *const  status_out = nullptr 
)

Definition at line 468 of file gpu_engine.cuh.

◆ num_values() [2/2]

template<class Core >
GLOBALQUALIFIER void warpcore::kernels::num_values ( index_t *const  num_out,
const Core  core 
)

Definition at line 422 of file gpu_engine.cuh.

◆ retrieve() [1/2]

template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void warpcore::kernels::retrieve ( const typename Core::key_type *const  keys_in,
const index_t  num_in,
const index_t *const  begin_offsets_in,
const index_t *const  end_offsets_in,
typename Core::value_type *const  values_out,
const Core  core,
const index_t  probing_length = defaults::probing_length(),
typename StatusHandler::base_type *const  status_out = nullptr 
)

Definition at line 307 of file gpu_engine.cuh.

◆ retrieve() [2/2]

template<class Core , class StatusHandler = defaults::status_handler_t>
GLOBALQUALIFIER void warpcore::kernels::retrieve ( const typename Core::key_type *const  keys_in,
const index_t  num_in,
typename Core::value_type *const  values_out,
const Core  core,
const index_t  probing_length = defaults::probing_length(),
typename StatusHandler::base_type *const  status_out = nullptr 
)

Definition at line 232 of file gpu_engine.cuh.

◆ size()

template<class Core >
GLOBALQUALIFIER void warpcore::kernels::size ( index_t *const  num_out,
const Core  core 
)

Definition at line 380 of file gpu_engine.cuh.