Fermat
|
This class implements a cuda block-wide Hash Set, allowing arbitrary threads from the same CTA to add new entries at the same time.
#include <hash.h>
Classes | |
struct | TempStorage |
Public Methods | |
CUGAR_DEVICE | BlockHashSet () |
CUGAR_DEVICE | BlockHashSet (TempStorage &_storage) |
Public Methods inherited from cugar::cuda::HashSet< KeyT, HashT, INVALID_KEY > | |
CUGAR_DEVICE | HashSet () |
CUGAR_DEVICE | HashSet (const uint32 _table_size, KeyT *_hash, KeyT *_unique, uint32 *_count) |
CUGAR_DEVICE void | insert (const KeyT key, const HashT hash_code) |
CUGAR_DEVICE uint32 | size () const |
CUGAR_DEVICE KeyT | get_unique (const uint32 i) const |
Additional Inherited Members | |
Public Members inherited from cugar::cuda::HashSet< KeyT, HashT, INVALID_KEY > | |
uint32 | table_size |
KeyT * | hash |
KeyT * | unique |
uint32 * | count |
|
inline |
emptry constructor
|
inline |
constructor
_storage | the per-CTA storage backing this container |