|
LSLAB_HOST | map (unsigned n_log_2) |
|
LSLAB_HOST | map (unsigned n_log_2, Allocator &&a) |
|
LSLAB_HOST_DEVICE | map (warp_mutex *lt, detail::slab_node< K, V > *s, unsigned n_log_2) |
|
LSLAB_DEVICE | map (warp_mutex *lt, detail::slab_node< K, V > *s, unsigned n_log_2, Allocator &&a) |
|
template<typename Fn > |
LSLAB_DEVICE void | find_function (const K &key, Fn &&fn, bool thread_mask=true) |
|
LSLAB_DEVICE bool | get (const K &key, V &value, bool thread_mask=true) |
|
template<typename Fn > |
LSLAB_DEVICE void | insert_function (const K &key, Fn &&fn, bool thread_mask=true) |
|
LSLAB_DEVICE V | put (const K &key, const V &value, bool thread_mask=true) |
|
template<typename Fn > |
LSLAB_DEVICE bool | update_function (const K &key, Fn &&fn, bool thread_mask=true) |
|
LSLAB_DEVICE cuda::std::pair< bool, V > | update (const K &key, const V &value, bool thread_mask=true) |
|
template<int block_size = 256> |
LSLAB_HOST void | put (cuda::std::pair< K, V > *operations, V *output, size_t size, cudaStream_t stream=0x0) |
|
template<int block_size = 256> |
LSLAB_HOST void | put (K *operations_keys, V *operations_values, V *output, size_t size, cudaStream_t stream=0x0) |
|
template<int block_size = 256> |
LSLAB_HOST void | get (K *operations, cuda::std::pair< bool, V > *output, size_t size, cudaStream_t stream=0x0) |
|
template<int block_size = 256> |
LSLAB_HOST void | update (cuda::std::pair< K, V > *operations, cuda::std::pair< bool, V > *output, size_t size, cudaStream_t stream=0x0) |
|
LSLAB_HOST_DEVICE unsigned | buckets () |
|
LSLAB_HOST | map () |
| create new map
|
|
LSLAB_HOST | map (unsigned n_log_2) |
| create new map
|
|
LSLAB_HOST | map (unsigned n_log_2, Allocator &&a) |
| create new map
|
|
LSLAB_HOST_DEVICE | map (warp_mutex *lt, detail::slab_node< K, V > *s, unsigned n_log_2) |
| create new map
|
|
LSLAB_DEVICE | map (warp_mutex *lt, detail::slab_node< K, V > *s, unsigned n_log_2, Allocator &&a) |
| create new map
|
|
LSLAB_HOST_DEVICE | ~map () |
| destruct map
|
|
template<typename Fn > |
LSLAB_DEVICE void | find_function (const K &key, Fn &&fn, bool thread_mask=true) |
| use function fn after searching for the given key More...
|
|
LSLAB_DEVICE bool | get (const K &key, V &value, bool thread_mask=true) |
| get the value at key More...
|
|
template<typename Fn > |
LSLAB_DEVICE void | insert_function (const K &key, Fn &&fn, bool thread_mask=true) |
| use function fn when inserting the given key More...
|
|
LSLAB_DEVICE V | put (const K &key, const V &value, bool thread_mask=true) |
| puts the key value pair in the map
|
|
template<typename Fn > |
LSLAB_DEVICE bool | update_function (const K &key, Fn &&fn, bool thread_mask=true) |
| use function fn when updating the given key More...
|
|
LSLAB_DEVICE cuda::std::pair< bool, V > | update (const K &key, const V &value, bool thread_mask=true) |
| update the key with the value More...
|
|
template<int block_size = 256> |
LSLAB_HOST void | put (cuda::std::pair< K, V > *operations, V *output, size_t size, cudaStream_t stream=0x0) |
| Do a batch of put operations. More...
|
|
template<int block_size = 256> |
LSLAB_HOST void | put (K *operations_keys, V *operations_values, V *output, size_t size, cudaStream_t stream=0x0) |
| Do a batch of put operations. More...
|
|
template<int block_size = 256> |
LSLAB_HOST void | get (K *operations, cuda::std::pair< bool, V > *output, size_t size, cudaStream_t stream=0x0) |
| Do a batch of get operations. More...
|
|
template<int block_size = 256> |
LSLAB_HOST void | update (cuda::std::pair< K, V > *operations, cuda::std::pair< bool, V > *output, size_t size, cudaStream_t stream=0x0) |
| Do a batch of updates. More...
|
|
LSLAB_HOST_DEVICE unsigned | buckets () |
| get number of buckets
|
|