Modifier and Type | Method and Description |
---|---|
static int |
JCudpp.cudppBurrowsWheelerTransform(CUDPPHandle planHandle,
jcuda.Pointer d_in,
jcuda.Pointer d_out,
jcuda.Pointer d_index,
long numElements)
Performs the Burrows-Wheeler Transform.
|
static int |
JCudpp.cudppCompact(CUDPPHandle planHandle,
jcuda.Pointer d_out,
jcuda.Pointer d_numValidElements,
jcuda.Pointer d_in,
jcuda.Pointer d_isValid,
long numElements)
Given an array d_in and an array of 1/0 flags in deviceValid, returns
a compacted array in d_out of corresponding only the "valid" values
from d_in.
|
static int |
JCudpp.cudppCompress(CUDPPHandle planHandle,
jcuda.Pointer d_uncompressed,
jcuda.Pointer d_bwtIndex,
jcuda.Pointer d_histSize,
jcuda.Pointer d_hist,
jcuda.Pointer d_encodeOffset,
jcuda.Pointer d_compressedSize,
jcuda.Pointer d_compressed,
long numElements)
Compresses data stream.
|
static int |
JCudpp.cudppCreate(CUDPPHandle theCudpp)
Creates an instance of the CUDPP library, and returns a handle.
|
static int |
JCudpp.cudppDestroy(CUDPPHandle theCudpp)
Destroys an instance of the CUDPP library given its handle.
|
static int |
JCudpp.cudppDestroyHashTable(CUDPPHandle cudppHandle,
CUDPPHandle plan)
Destroys a hash table given its handle.
|
static int |
JCudpp.cudppDestroyPlan(CUDPPHandle plan)
Destroy a CUDPP Plan.
|
static int |
JCudpp.cudppDestroySparseMatrix(CUDPPHandle sparseMatrixHandle)
Destroy a CUDPP Sparse Matrix Object.
|
static int |
JCudpp.cudppHashInsert(CUDPPHandle plan,
jcuda.Pointer d_keys,
jcuda.Pointer d_vals,
long num)
Inserts keys and values into a CUDPP hash table.
|
static int |
JCudpp.cudppHashRetrieve(CUDPPHandle plan,
jcuda.Pointer d_keys,
jcuda.Pointer d_vals,
long num)
Retrieves values, given keys, from a CUDPP hash table.
|
static int |
JCudpp.cudppHashTable(CUDPPHandle cudppHandle,
CUDPPHandle plan,
CUDPPHashTableConfig config)
Creates a CUDPP hash table in GPU memory given an input hash table
configuration; returns the plan for that hash table.
|
static int |
JCudpp.cudppListRank(CUDPPHandle planHandle,
jcuda.Pointer d_ranked_values,
jcuda.Pointer d_unranked_values,
jcuda.Pointer d_next_indices,
long head,
long numElements)
Performs list ranking of linked list node values.
|
static int |
JCudpp.cudppMergeSort(CUDPPHandle planHandle,
jcuda.Pointer d_keys,
jcuda.Pointer d_values,
long numElements)
Sorts key-value pairs or keys only.
|
static int |
JCudpp.cudppMoveToFrontTransform(CUDPPHandle planHandle,
jcuda.Pointer d_in,
jcuda.Pointer d_out,
long numElements)
Performs the Move-to-Front Transform.
|
static int |
JCudpp.cudppMultiScan(CUDPPHandle planHandle,
jcuda.Pointer d_out,
jcuda.Pointer d_in,
long numElements,
long numRows)
Performs numRows parallel scan operations of numElements each on its
input (d_in) and places the output in d_out, with the scan parameters
set by config.
|
static int |
JCudpp.cudppMultivalueHashGetAllValues(CUDPPHandle plan,
jcuda.Pointer d_vals)
Retrieves a pointer to the values array in a multivalue hash table.
|
static int |
JCudpp.cudppMultivalueHashGetValuesSize(CUDPPHandle plan,
int[] size)
Retrieves the size of the values array in a multivalue hash table.
|
static int |
JCudpp.cudppPlan(CUDPPHandle cudppHandle,
CUDPPHandle planHandle,
CUDPPConfiguration config,
long n,
long rows,
long rowPitch)
Create a CUDPP plan.
|
static int |
JCudpp.cudppRadixSort(CUDPPHandle planHandle,
jcuda.Pointer d_keys,
jcuda.Pointer d_values,
long numElements)
Sorts key-value pairs or keys only.
|
static int |
JCudpp.cudppRand(CUDPPHandle planHandle,
jcuda.Pointer d_out,
long numElements)
Rand puts numElements random 32-bit elements into d_out.
|
static int |
JCudpp.cudppRandSeed(CUDPPHandle planHandle,
int seed)
Sets the seed used for rand.
|
static int |
JCudpp.cudppReduce(CUDPPHandle planHandle,
jcuda.Pointer d_out,
jcuda.Pointer d_in,
long numElements)
Reduces an array to a single element using a binary associative operator.
|
static int |
JCudpp.cudppScan(CUDPPHandle planHandle,
jcuda.Pointer d_out,
jcuda.Pointer d_in,
long numElements)
Performs a scan operation of numElements on its input in GPU memory
(d_in) and places the output in GPU memory (d_out), with the scan
parameters specified in the plan pointed to by planHandle.
|
static int |
JCudpp.cudppSegmentedScan(CUDPPHandle planHandle,
jcuda.Pointer d_out,
jcuda.Pointer d_idata,
jcuda.Pointer d_iflags,
long numElements)
Performs a segmented scan operation of numElements on its input in GPU
memory (d_idata) and places the output in GPU memory (d_out), with the
scan parameters specified in the plan pointed to by planHandle.
|
static int |
JCudpp.cudppSparseMatrix(CUDPPHandle cudppHandle,
CUDPPHandle sparseMatrixHandle,
CUDPPConfiguration config,
long numNonZeroElements,
long numRows,
jcuda.Pointer A,
jcuda.Pointer h_rowIndices,
jcuda.Pointer h_indices)
Create a CUDPP Sparse Matrix Object.
|
static int |
JCudpp.cudppSparseMatrixVectorMultiply(CUDPPHandle sparseMatrixHandle,
jcuda.Pointer d_y,
jcuda.Pointer d_x)
Perform matrix-vector multiply y = A*x for arbitrary sparse matrix
A and vector x.
|
static int |
JCudpp.cudppStringSort(CUDPPHandle planHandle,
jcuda.Pointer d_stringVals,
jcuda.Pointer d_address,
byte termC,
long numElements,
long stringArrayLength)
Sorts strings.
|
static int |
JCudpp.cudppTridiagonal(CUDPPHandle planHandle,
jcuda.Pointer a,
jcuda.Pointer b,
jcuda.Pointer c,
jcuda.Pointer d,
jcuda.Pointer x,
int systemSize,
int numSystems)
Solves tridiagonal linear systems.
|