|
| CUDA constexpr | bitset () |
| |
| CUDA constexpr | bitset (const this_type &other) |
| |
| template<class Mem2 > |
| CUDA constexpr | bitset (const bitset< N, Mem2, T > &other) |
| |
| CUDA | bitset (size_t start, size_t end) |
| |
| CUDA constexpr | bitset (const char *bit_str) |
| |
| CUDA constexpr bool | test (size_t pos) const |
| |
| CUDA constexpr bool | all () const |
| |
| CUDA constexpr bool | any () const |
| |
| CUDA constexpr bool | none () const |
| |
| CUDA constexpr size_t | size () const |
| |
| CUDA constexpr size_t | count () const |
| |
| CUDA constexpr bitset & | set () |
| |
| CUDA constexpr bitset & | set (size_t pos) |
| |
| CUDA INLINE constexpr bitset & | set (size_t pos, bool value) |
| |
| CUDA constexpr bitset & | reset () |
| |
| CUDA constexpr bitset & | reset (size_t pos) |
| |
| CUDA constexpr bitset & | flip () |
| |
| CUDA constexpr bitset & | flip (size_t pos) |
| |
| template<class Mem2 > |
| CUDA constexpr bool | is_subset_of (const bitset< N, Mem2, T > &other) const |
| |
| template<class Mem2 > |
| CUDA constexpr bool | is_proper_subset_of (const bitset< N, Mem2, T > &other) const |
| |
| CUDA constexpr bitset | operator~ () const |
| |
| template<class Mem2 > |
| CUDA constexpr bool | operator== (const bitset< N, Mem2, T > &other) const |
| |
| CUDA constexpr int | countl_zero () const |
| |
| CUDA constexpr int | countl_one () const |
| |
| CUDA constexpr int | countr_zero () const |
| |
| CUDA constexpr int | countr_one () const |
| |
| CUDA constexpr void | print () const |
| |
| template<class Allocator > |
| CUDA string< Allocator > | to_string (Allocator allocator=Allocator()) const |
| |
template<size_t N, class Mem, class T = unsigned long long>
class battery::bitset< N, Mem, T >
- Template Parameters
-
| `N` | is the number of bits in the bitset. |
| `Mem` | is a memory consistency, for instance local_memory, see memory.hpp. |
| `T` | is the underlying type defining the blocks of the bitset. |