NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
nvbio::bowtie2::cuda::ComputeThreadSE Struct Reference

Detailed description

Definition at line 48 of file compute_thread.h.

#include <compute_thread.h>

Inheritance diagram for nvbio::bowtie2::cuda::ComputeThreadSE:
nvbio::Thread< ComputeThreadSE > nvbio::ThreadBase

Public Methods

 ComputeThreadSE (const uint32 _thread_id, const uint32 _device_id, const io::SequenceData &_reference_data, const io::FMIndexData &_driver_data, const std::map< std::string, std::string > &_options, const Params &_params, Stats &_stats)
 
uint32 gauge_batch_size ()
 
void set_input (InputThreadSE *_input_thread)
 
void set_output (io::OutputFile *_output_file)
 
void run ()
 
void do_run ()
 
- Public Methods inherited from nvbio::Thread< ComputeThreadSE >
void create ()
 create the thread More...
 
void join ()
 join the thread More...
 
- Public Methods inherited from nvbio::ThreadBase
 ThreadBase ()
 
 ~ThreadBase ()
 
void set_id (const uint32 id)
 
uint32 get_id () const
 
void create (void *(*func)(void *), void *arg)
 create the thread More...
 
void join ()
 join the thread More...
 

Public Members

const uint32 thread_id
 
const uint32 device_id
 
const io::SequenceDatareference_data_host
 
const io::FMIndexDatadriver_data_host
 
const std::map< std::string,
std::string > & 
options
 
InputThreadSEinput_thread
 
io::OutputFileoutput_file
 
Params params
 
Statsstats
 
SharedPointer< Aligneraligner
 
SharedPointer
< io::SequenceDataDevice
reference_data_device
 
SharedPointer
< io::FMIndexDataDevice
driver_data_device
 

Constructor & Destructor Documentation

nvbio::bowtie2::cuda::ComputeThreadSE::ComputeThreadSE ( const uint32  _thread_id,
const uint32  _device_id,
const io::SequenceData _reference_data,
const io::FMIndexData _driver_data,
const std::map< std::string, std::string > &  _options,
const Params _params,
Stats _stats 
)

constructor

Member Function Documentation

void nvbio::bowtie2::cuda::ComputeThreadSE::do_run ( )
uint32 nvbio::bowtie2::cuda::ComputeThreadSE::gauge_batch_size ( )

gauge the favourite batch size

void nvbio::bowtie2::cuda::ComputeThreadSE::run ( )
void nvbio::bowtie2::cuda::ComputeThreadSE::set_input ( InputThreadSE _input_thread)
inline

setup the input thread

Definition at line 67 of file compute_thread.h.

void nvbio::bowtie2::cuda::ComputeThreadSE::set_output ( io::OutputFile _output_file)
inline

setup the input thread

Definition at line 71 of file compute_thread.h.

Member Data Documentation

SharedPointer<Aligner> nvbio::bowtie2::cuda::ComputeThreadSE::aligner

Definition at line 86 of file compute_thread.h.

const uint32 nvbio::bowtie2::cuda::ComputeThreadSE::device_id

Definition at line 78 of file compute_thread.h.

SharedPointer<io::FMIndexDataDevice> nvbio::bowtie2::cuda::ComputeThreadSE::driver_data_device

Definition at line 88 of file compute_thread.h.

const io::FMIndexData& nvbio::bowtie2::cuda::ComputeThreadSE::driver_data_host

Definition at line 80 of file compute_thread.h.

InputThreadSE* nvbio::bowtie2::cuda::ComputeThreadSE::input_thread

Definition at line 82 of file compute_thread.h.

const std::map<std::string,std::string>& nvbio::bowtie2::cuda::ComputeThreadSE::options

Definition at line 81 of file compute_thread.h.

io::OutputFile* nvbio::bowtie2::cuda::ComputeThreadSE::output_file

Definition at line 83 of file compute_thread.h.

Params nvbio::bowtie2::cuda::ComputeThreadSE::params

Definition at line 84 of file compute_thread.h.

SharedPointer<io::SequenceDataDevice> nvbio::bowtie2::cuda::ComputeThreadSE::reference_data_device

Definition at line 87 of file compute_thread.h.

const io::SequenceData& nvbio::bowtie2::cuda::ComputeThreadSE::reference_data_host

Definition at line 79 of file compute_thread.h.

Stats& nvbio::bowtie2::cuda::ComputeThreadSE::stats

Definition at line 85 of file compute_thread.h.

const uint32 nvbio::bowtie2::cuda::ComputeThreadSE::thread_id

Definition at line 77 of file compute_thread.h.


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