Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DynamicBitset Class Reference

Dynamic Bitset, CUDA version. More...

#include <DynamicBitset.h>

Public Member Functions

 DynamicBitset ()
 
 DynamicBitset (size_t nbits)
 
 ~DynamicBitset ()
 
void alloc (size_t nbits)
 
void resize (size_t nbits)
 
__device__ __host__ size_t size () const
 
__device__ __host__ size_t vec_size () const
 
__device__ __host__ size_t alloc_size () const
 
void reset ()
 
__device__ bool test (const size_t id) const
 
__device__ void set (const size_t id)
 
__device__ void batch_reset (const size_t bit_index)
 
__device__ void batch_bitwise_and (const size_t bit_index, const uint64_t mask)
 
void copy_to_cpu (uint64_t *bit_vector_cpu_copy)
 
void copy_to_gpu (uint64_t *cpu_bit_vector)
 

Detailed Description

Dynamic Bitset, CUDA version.

See galois/DynamicBitset.h.

Constructor & Destructor Documentation

DynamicBitset::DynamicBitset ( )
inline
DynamicBitset::DynamicBitset ( size_t  nbits)
inline
DynamicBitset::~DynamicBitset ( )
inline

Member Function Documentation

void DynamicBitset::alloc ( size_t  nbits)
inline
__device__ __host__ size_t DynamicBitset::alloc_size ( ) const
inline
__device__ void DynamicBitset::batch_bitwise_and ( const size_t  bit_index,
const uint64_t  mask 
)
inline
__device__ void DynamicBitset::batch_reset ( const size_t  bit_index)
inline
void DynamicBitset::copy_to_cpu ( uint64_t *  bit_vector_cpu_copy)
inline
void DynamicBitset::copy_to_gpu ( uint64_t *  cpu_bit_vector)
inline
void DynamicBitset::reset ( )
inline
void DynamicBitset::resize ( size_t  nbits)
inline
__device__ void DynamicBitset::set ( const size_t  id)
inline
__device__ __host__ size_t DynamicBitset::size ( ) const
inline
__device__ bool DynamicBitset::test ( const size_t  id) const
inline
__device__ __host__ size_t DynamicBitset::vec_size ( ) const
inline

The documentation for this class was generated from the following file: