NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
paged_text.cpp File Reference
#include <nvbio/fmindex/paged_text.h>
#include <nvbio/basic/popcount.h>
#include <nvbio/basic/algorithms.h>
#include <nvbio/basic/vector.h>
#include <nvbio/basic/numbers.h>
#include <nvbio/basic/primitives.h>
#include <nvbio/basic/transform_iterator.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 

Functions

void nvbio::build_buckets (const uint64 key_range, const uint32 n_keys, const uint64 *keys, const uint32 bucket_size, nvbio::vector< host_tag, uint32 > &buckets, const bool upper)
 
template<uint8 c>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
nvbio::popc_2bit (const uint64 x)
 
template<uint8 c>
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
nvbio::popc_2bit (const uint64 mask, const uint32 i)
 
uint32 nvbio::popc_2bit (const uint64 *page, const uint32 n, const uint32 mod, const uint32 c)