|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of CUDPPHandle in jcuda.jcudpp |
---|
Methods in jcuda.jcudpp with parameters of type CUDPPHandle | |
---|---|
static int |
JCudpp.cudppCompact(CUDPPHandle planHandle,
Pointer d_out,
Pointer d_numValidElements,
Pointer d_in,
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.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,
Pointer d_keys,
Pointer d_vals,
long num)
Inserts keys and values into a CUDPP hash table. |
static int |
JCudpp.cudppHashRetrieve(CUDPPHandle plan,
Pointer d_keys,
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.cudppMultiScan(CUDPPHandle planHandle,
Pointer d_out,
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,
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.cudppRand(CUDPPHandle planHandle,
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,
Pointer d_out,
Pointer d_in,
long numElements)
Reduces an array to a single element using a binary associative operator. |
static int |
JCudpp.cudppScan(CUDPPHandle planHandle,
Pointer d_out,
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,
Pointer d_out,
Pointer d_idata,
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.cudppSort(CUDPPHandle planHandle,
Pointer d_keys,
Pointer d_values,
long numElements)
Sorts key-value pairs or keys only. |
static int |
JCudpp.cudppSparseMatrix(CUDPPHandle cudppHandle,
CUDPPHandle sparseMatrixHandle,
CUDPPConfiguration config,
long numNonZeroElements,
long numRows,
Pointer A,
Pointer h_rowIndices,
Pointer h_indices)
Create a CUDPP Sparse Matrix Object. |
static int |
JCudpp.cudppSparseMatrixVectorMultiply(CUDPPHandle sparseMatrixHandle,
Pointer d_y,
Pointer d_x)
Perform matrix-vector multiply y = A*x for arbitrary sparse matrix A and vector x. |
static int |
JCudpp.cudppTridiagonal(CUDPPHandle planHandle,
Pointer a,
Pointer b,
Pointer c,
Pointer d,
Pointer x,
int systemSize,
int numSystems)
Solves tridiagonal linear systems. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |