NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
BloomFilters< system_tag > Struct Template Reference

Detailed description

template< typename system_tag>
struct BloomFilters< system_tag >

Bloom filters container - this class contains all the per-device data needed during nvLighter's execution

Definition at line 67 of file bloom_filters.h.

#include <bloom_filters.h>

Public Methods

bool setup (const int _device, const uint64 sampled_words, const uint64 trusted_words)
 
const nvbio::vector
< system_tag, uint32 > & 
get_kmers (const KmersType type) const
 
nvbio::vector< system_tag,
uint32 > & 
get_kmers (const KmersType type)
 
void get_kmers (const KmersType type, nvbio::vector< host_tag, uint32 > &bf)
 
void set_kmers (const KmersType type, const nvbio::vector< host_tag, uint32 > &bf)
 
void set_threshold (const nvbio::vector< host_tag, uint32 > &_threshold)
 
void set_device () const
 
void device_memory (size_t *free_device, size_t *total_device) const
 

Public Members

int device
 
nvbio::vector< system_tag, uint32sampled_kmers_storage
 
nvbio::vector< system_tag, uint32trusted_kmers_storage
 
nvbio::vector< system_tag, uint32threshold
 
nvbio::vector< system_tag, uint64stats
 

Member Function Documentation

template<typename system_tag>
void BloomFilters< system_tag >::device_memory ( size_t *  free_device,
size_t *  total_device 
) const
inline

Definition at line 142 of file bloom_filters.h.

template<typename system_tag>
const nvbio::vector<system_tag,uint32>& BloomFilters< system_tag >::get_kmers ( const KmersType  type) const
inline

Definition at line 106 of file bloom_filters.h.

template<typename system_tag>
nvbio::vector<system_tag,uint32>& BloomFilters< system_tag >::get_kmers ( const KmersType  type)
inline

Definition at line 111 of file bloom_filters.h.

template<typename system_tag>
void BloomFilters< system_tag >::get_kmers ( const KmersType  type,
nvbio::vector< host_tag, uint32 > &  bf 
)
inline

Definition at line 116 of file bloom_filters.h.

template<typename system_tag>
void BloomFilters< system_tag >::set_device ( ) const
inline

Definition at line 137 of file bloom_filters.h.

template<typename system_tag>
void BloomFilters< system_tag >::set_kmers ( const KmersType  type,
const nvbio::vector< host_tag, uint32 > &  bf 
)
inline

Definition at line 123 of file bloom_filters.h.

template<typename system_tag>
void BloomFilters< system_tag >::set_threshold ( const nvbio::vector< host_tag, uint32 > &  _threshold)
inline

Definition at line 130 of file bloom_filters.h.

template<typename system_tag>
bool BloomFilters< system_tag >::setup ( const int  _device,
const uint64  sampled_words,
const uint64  trusted_words 
)
inline

Definition at line 69 of file bloom_filters.h.

Member Data Documentation

template<typename system_tag>
int BloomFilters< system_tag >::device

Definition at line 100 of file bloom_filters.h.

template<typename system_tag>
nvbio::vector<system_tag,uint32> BloomFilters< system_tag >::sampled_kmers_storage

Definition at line 101 of file bloom_filters.h.

template<typename system_tag>
nvbio::vector<system_tag,uint64> BloomFilters< system_tag >::stats

Definition at line 104 of file bloom_filters.h.

template<typename system_tag>
nvbio::vector<system_tag,uint32> BloomFilters< system_tag >::threshold

Definition at line 103 of file bloom_filters.h.

template<typename system_tag>
nvbio::vector<system_tag,uint32> BloomFilters< system_tag >::trusted_kmers_storage

Definition at line 102 of file bloom_filters.h.


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