Cuda battery library
Loading...
Searching...
No Matches
bitset.hpp File Reference
#include <cstdio>
#include <cassert>
#include "utility.hpp"
#include "memory.hpp"
#include "string.hpp"

Go to the source code of this file.

Classes

class  battery::bitset< N, Mem, T >
 

Namespaces

namespace  battery
 

Functions

template<size_t N, class M1 , class M2 , class T >
CUDA constexpr bitset< N, local_memory, T > battery::operator& (const bitset< N, M1, T > &lhs, const bitset< N, M2, T > &rhs)
 
template<size_t N, class M1 , class M2 , class T >
CUDA constexpr bitset< N, local_memory, T > battery::operator| (const bitset< N, M1, T > &lhs, const bitset< N, M2, T > &rhs)
 
template<size_t N, class M1 , class M2 , class T >
CUDA constexpr bitset< N, local_memory, T > battery::operator^ (const bitset< N, M1, T > &lhs, const bitset< N, M2, T > &rhs)
 

Detailed Description

An extension of the C++ STL bitset class with support for set operations (e.g., union and intersection) and for atomic read and write on the bitset blocks.