CUDPP  2.2
CUDA Data-Parallel Primitives Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
CUDPPSaPlan Class Reference

Plan class for suffix array. More...

#include <cudpp_plan.h>

Inherits CUDPPPlan.

Public Member Functions

 CUDPPSaPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t str_length)
 CUDPP Suffix Array Plan Constructor. More...
 
virtual ~CUDPPSaPlan ()
 
- Public Member Functions inherited from CUDPPPlan
 CUDPPPlan (CUDPPManager *mgr, CUDPPConfiguration config, size_t numElements, size_t numRows, size_t rowPitch)
 Plan base class constructor. More...
 
CUDPPHandle getHandle ()
 

Public Attributes

bool * m_d_unique
 
unsigned int * d_str_value
 
unsigned int * m_d_keys_srt_12
 
unsigned int * m_d_keys_srt_3
 
Vector * m_d_aKeys
 
Vector * m_d_bKeys
 
Vector * m_d_cKeys
 
unsigned int * m_d_new_str
 
unsigned int * m_d_isa_12
 
- Public Attributes inherited from CUDPPPlan
CUDPPConfiguration m_config
 
size_t m_numElements
 
size_t m_numRows
 
size_t m_rowPitch
 
CUDPPManagerm_planManager
 

Detailed Description

Plan class for suffix array.

Constructor & Destructor Documentation

CUDPPSaPlan::CUDPPSaPlan ( CUDPPManager mgr,
CUDPPConfiguration  config,
size_t  str_length 
)

CUDPP Suffix Array Plan Constructor.

Parameters
[in]mgrpointer to the CUDPPManager
[in]configThe configuration struct specifying options
[in]str_lengththe length of the string including $
CUDPPSaPlan::~CUDPPSaPlan ( )
virtual

brief SA plan destructor

Member Data Documentation

bool* CUDPPSaPlan::m_d_unique

the flag to mark if SA12 is fully sorted

unsigned int* CUDPPSaPlan::d_str_value

the input unsigned int array

unsigned int* CUDPPSaPlan::m_d_keys_srt_12

SA12

unsigned int* CUDPPSaPlan::m_d_keys_srt_3

SA3

Vector* CUDPPSaPlan::m_d_aKeys

SA12 keys for final merge

Vector* CUDPPSaPlan::m_d_bKeys

SA3 keys for final merge

Vector* CUDPPSaPlan::m_d_cKeys

merging result

unsigned int* CUDPPSaPlan::m_d_new_str

new string for recursion

unsigned int* CUDPPSaPlan::m_d_isa_12

ISA12


The documentation for this class was generated from the following files: