CUDPP  2.2
CUDA Data-Parallel Primitives Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
listrank_kernel.cuh File Reference

CUDPP kernel-level listrank routines. More...

#include <cudpp_globals.h>
#include "sharedmem.h"
#include <stdio.h>

ListRank Functions

typedef unsigned int uint
 
typedef unsigned char uchar
 
typedef unsigned short ushort
 
template<typename T >
__global__ void list_rank_kernel_soa_1 (T *d_ranked_values, const T *d_unranked_values, const int *d_ping, int *d_pong, int *d_start_indices, int step, int head, int numElts)
 Use pointer jumping to rank values. After ranking the values, calculate the next set of indices. The number of values ranked doubles at each kernel call. Called by listRank(). More...
 
template<typename T >
__global__ void list_rank_kernel_soa_2 (T *d_ranked_values, const T *d_unranked_values, const int *d_pong, const int *d_start_indices, int head, int numElts)
 After pointer jumping is finished and all threads are able to rank values, ranking continues serially. Each thread ranks values until all values are ranked. Called by listRank(). More...
 

Detailed Description

CUDPP kernel-level listrank routines.

listrank_kernel.cu