NVBIO
|
An array containing a priority deque of SeedHit's per read
Definition at line 157 of file seed_hit_deque_array.h.
#include <seed_hit_deque_array.h>
Public Types | |
typedef device_view_subtype < thrust::device_vector < SeedHit > >::type | hits_storage_type |
typedef device_view_subtype < thrust::device_vector < uint32 > >::type | index_storage_type |
typedef device_view_subtype < thrust::device_vector< float > >::type | prob_storage_type |
typedef vector_view< SeedHit * > | hit_vector_type |
typedef priority_deque < SeedHit, hit_vector_type, hit_compare > | hit_deque_type |
typedef SeedHitDequeReference < SeedHitDequeArrayDeviceView > | reference |
Public Members | |
hits_storage_type | m_hits |
global arena of seed hit SA ranges More... | |
index_storage_type | m_counts |
per-read seed hit counters More... | |
prob_storage_type | m_probs |
global arena of SA probabilities More... | |
index_storage_type | m_index |
per-read index marking the beginning of the read's hits vector in the global arena More... | |
index_storage_type | m_probs_index |
per-read index marking the beginning of the read's hits vector in the global arena More... | |
index_storage_type | m_pool |
pool counter for the global arena More... | |
index_storage_type | m_probs_pool |
pool counter for the global arena More... | |
typedef priority_deque<SeedHit, hit_vector_type, hit_compare> nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::hit_deque_type |
Definition at line 164 of file seed_hit_deque_array.h.
Definition at line 163 of file seed_hit_deque_array.h.
typedef device_view_subtype< thrust::device_vector<SeedHit> >::type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::hits_storage_type |
Definition at line 159 of file seed_hit_deque_array.h.
typedef device_view_subtype< thrust::device_vector<uint32> >::type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::index_storage_type |
Definition at line 160 of file seed_hit_deque_array.h.
typedef device_view_subtype< thrust::device_vector<float> >::type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::prob_storage_type |
Definition at line 161 of file seed_hit_deque_array.h.
typedef SeedHitDequeReference<SeedHitDequeArrayDeviceView> nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::reference |
Definition at line 166 of file seed_hit_deque_array.h.
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::SeedHitDequeArrayDeviceView | ( | index_storage_type | counts = index_storage_type() , |
index_storage_type | index = index_storage_type() , |
||
hits_storage_type | hits = hits_storage_type() , |
||
index_storage_type | probs_index = index_storage_type() , |
||
prob_storage_type | probs = prob_storage_type() , |
||
index_storage_type | pool = index_storage_type() , |
||
index_storage_type | probs_pool = index_storage_type() |
||
) |
constructor
Definition at line 50 of file seed_hit_deque_array_inl.h.
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SeedHit * nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::alloc_deque | ( | const uint32 | read_id, |
const uint32 | size | ||
) |
allocate some storage for the deque bound to a given read
Definition at line 78 of file seed_hit_deque_array_inl.h.
|
inline |
erase the set of hits bound to a read. NOTE: this method doesn't release the previously allocated memory!
Definition at line 215 of file seed_hit_deque_array.h.
|
inline |
get the storage for the hit vector bound to a given read
Definition at line 204 of file seed_hit_deque_array.h.
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SeedHitDequeArrayDeviceView::hit_deque_type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::get_deque | ( | const uint32 | read_id, |
bool | build_heap = false |
||
) | const |
return the deque bound to a given read
Definition at line 105 of file seed_hit_deque_array_inl.h.
|
inline |
get the storage for the hit vector bound to a given read
Definition at line 209 of file seed_hit_deque_array.h.
|
inline |
get the size of the hit vector bound to a given read
Definition at line 199 of file seed_hit_deque_array.h.
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SeedHitDequeArrayDeviceView::reference nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::operator[] | ( | const uint32 | read_id) |
return a reference to the given deque
Definition at line 70 of file seed_hit_deque_array_inl.h.
|
inline |
resize the deque bound to a given read NOTE: this method doesn't alloc or release any memory! alloc_deque() must have been previously called.
Definition at line 194 of file seed_hit_deque_array.h.
index_storage_type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::m_counts |
per-read seed hit counters
Definition at line 224 of file seed_hit_deque_array.h.
hits_storage_type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::m_hits |
global arena of seed hit SA ranges
Definition at line 223 of file seed_hit_deque_array.h.
index_storage_type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::m_index |
per-read index marking the beginning of the read's hits vector in the global arena
Definition at line 226 of file seed_hit_deque_array.h.
index_storage_type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::m_pool |
pool counter for the global arena
Definition at line 228 of file seed_hit_deque_array.h.
prob_storage_type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::m_probs |
global arena of SA probabilities
Definition at line 225 of file seed_hit_deque_array.h.
index_storage_type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::m_probs_index |
per-read index marking the beginning of the read's hits vector in the global arena
Definition at line 227 of file seed_hit_deque_array.h.
index_storage_type nvbio::bowtie2::cuda::SeedHitDequeArrayDeviceView::m_probs_pool |
pool counter for the global arena
Definition at line 229 of file seed_hit_deque_array.h.