LSLab
|
Public Types | |
template<typename T > | |
using | Lock_t = typename std::conditional< TYPE==OPERATION_TYPE::FIND, warp_shared_lock< T >, warp_unique_lock< T > >::type |
Public Member Functions | |
template<typename K , typename V , typename Fn > | |
LSLAB_DEVICE void | operator() (warp_mutex *lock_table, slab_node< K, V > *buckets, const K &key, Fn &&fn, Allocator &alloc, const unsigned bucket, bool thread_mask) |
template<typename K > | |
LSLAB_DEVICE void | operator() (warp_mutex *lock_table, set_node< K > *buckets, const K &key, bool &result, Allocator &alloc, const unsigned bucket, bool thread_mask) |