NVBIO
|
#include <nvbio/basic/types.h>
#include <nvbio/basic/console.h>
#include <nvbio/basic/thrust_view.h>
#include <thrust/device_vector.h>
#include <cub/cub.cuh>
#include <nvbio/basic/cuda/primitives_inl.h>
Go to the source code of this file.
Namespaces | |
nvbio | |
Define a vector_view POD type and plain_view() for std::vector. | |
nvbio::cuda | |
Functions | |
template<typename VectorType > | |
void | nvbio::cuda::alloc_temp_storage (VectorType &vec, const uint64 size) |
template<typename PredicateIterator > | |
bool | nvbio::cuda::any (const uint32 n, const PredicateIterator pred) |
template<typename PredicateIterator > | |
bool | nvbio::cuda::all (const uint32 n, const PredicateIterator pred) |
template<typename Iterator > | |
bool | nvbio::cuda::is_sorted (const uint32 n, const Iterator values) |
template<typename Iterator , typename Headflags > | |
bool | nvbio::cuda::is_segment_sorted (const uint32 n, const Iterator values, const Headflags flags) |
template<typename InputIterator , typename BinaryOp > | |
std::iterator_traits < InputIterator >::value_type | nvbio::cuda::reduce (const uint32 n, InputIterator d_in, BinaryOp op, thrust::device_vector< uint8 > &d_temp_storage) |
template<typename InputIterator , typename OutputIterator , typename BinaryOp > | |
void | nvbio::cuda::inclusive_scan (const uint32 n, InputIterator d_in, OutputIterator d_out, BinaryOp op, thrust::device_vector< uint8 > &d_temp_storage) |
template<typename InputIterator , typename OutputIterator , typename BinaryOp , typename Identity > | |
void | nvbio::cuda::exclusive_scan (const uint32 n, InputIterator d_in, OutputIterator d_out, BinaryOp op, Identity identity, thrust::device_vector< uint8 > &d_temp_storage) |
template<typename InputIterator , typename FlagsIterator , typename OutputIterator > | |
uint32 | nvbio::cuda::copy_flagged (const uint32 n, InputIterator d_in, FlagsIterator d_flags, OutputIterator d_out, thrust::device_vector< uint8 > &d_temp_storage) |
template<typename InputIterator , typename OutputIterator , typename Predicate > | |
uint32 | nvbio::cuda::copy_if (const uint32 n, InputIterator d_in, OutputIterator d_out, const Predicate pred, thrust::device_vector< uint8 > &d_temp_storage) |
template<typename InputIterator , typename OutputIterator , typename CountIterator > | |
uint32 | nvbio::cuda::runlength_encode (const uint32 n, InputIterator d_in, OutputIterator d_out, CountIterator d_counts, thrust::device_vector< uint8 > &d_temp_storage) |
template<typename KeyIterator , typename ValueIterator , typename OutputKeyIterator , typename OutputValueIterator , typename ReductionOp > | |
uint32 | nvbio::cuda::reduce_by_key (const uint32 n, KeyIterator d_keys_in, ValueIterator d_values_in, OutputKeyIterator d_keys_out, OutputValueIterator d_values_out, ReductionOp reduction_op, thrust::device_vector< uint8 > &d_temp_storage) |