PARALUTION  1.0.0
PARALUTION
kernels_ocl.hpp File Reference

Go to the source code of this file.

Macros

#define KERNELCOUNT   74
 
#define CL_KERNEL_SET_TO_INT   paralution_get_kernel_ocl<int> ( 0)
 
#define CL_KERNEL_SET_TO   paralution_get_kernel_ocl<ValueType>( 1)
 
#define CL_KERNEL_REVERSE_INDEX   paralution_get_kernel_ocl<ValueType>( 5)
 
#define CL_KERNEL_BUFFER_ADDSCALAR   paralution_get_kernel_ocl<ValueType>( 9)
 
#define CL_KERNEL_SCALEADD   paralution_get_kernel_ocl<ValueType>( 13)
 
#define CL_KERNEL_SCALEADDSCALE   paralution_get_kernel_ocl<ValueType>( 17)
 
#define CL_KERNEL_SCALEADD2   paralution_get_kernel_ocl<ValueType>( 21)
 
#define CL_KERNEL_POINTWISEMULT   paralution_get_kernel_ocl<ValueType>( 25)
 
#define CL_KERNEL_POINTWISEMULT2   paralution_get_kernel_ocl<ValueType>( 29)
 
#define CL_KERNEL_COPY_OFFSET_FROM   paralution_get_kernel_ocl<ValueType>( 33)
 
#define CL_KERNEL_PERMUTE   paralution_get_kernel_ocl<ValueType>( 37)
 
#define CL_KERNEL_PERMUTE_BACKWARD   paralution_get_kernel_ocl<ValueType>( 41)
 
#define CL_KERNEL_DOT   paralution_get_kernel_ocl<ValueType>( 45)
 
#define CL_KERNEL_AXPY   paralution_get_kernel_ocl<ValueType>( 49)
 
#define CL_KERNEL_CSR_SPMV_SCALAR   paralution_get_kernel_ocl<ValueType>( 53)
 
#define CL_KERNEL_CSR_ADD_SPMV_SCALAR   paralution_get_kernel_ocl<ValueType>( 57)
 
#define CL_KERNEL_CSR_SCALE_DIAGONAL   paralution_get_kernel_ocl<ValueType>( 61)
 
#define CL_KERNEL_CSR_SCALE_OFFDIAGONAL   paralution_get_kernel_ocl<ValueType>( 65)
 
#define CL_KERNEL_CSR_ADD_DIAGONAL   paralution_get_kernel_ocl<ValueType>( 69)
 
#define CL_KERNEL_CSR_ADD_OFFDIAGONAL   paralution_get_kernel_ocl<ValueType>( 73)
 
#define CL_KERNEL_CSR_EXTRACT_DIAG   paralution_get_kernel_ocl<ValueType>( 77)
 
#define CL_KERNEL_CSR_EXTRACT_INV_DIAG   paralution_get_kernel_ocl<ValueType>( 81)
 
#define CL_KERNEL_CSR_EXTRACT_SUBMATRIX_ROW_NNZ   paralution_get_kernel_ocl<ValueType>( 85)
 
#define CL_KERNEL_CSR_EXTRACT_SUBMATRIX_COPY   paralution_get_kernel_ocl<ValueType>( 89)
 
#define CL_KERNEL_CSR_DIAGMATMULT_R   paralution_get_kernel_ocl<ValueType>( 93)
 
#define CL_KERNEL_CSR_ADD_CSR_SAME_STRUCT   paralution_get_kernel_ocl<ValueType>( 97)
 
#define CL_KERNEL_SCALE   paralution_get_kernel_ocl<ValueType>(101)
 
#define CL_KERNEL_MCSR_SPMV_SCALAR   paralution_get_kernel_ocl<ValueType>(105)
 
#define CL_KERNEL_MCSR_ADD_SPMV_SCALAR   paralution_get_kernel_ocl<ValueType>(109)
 
#define CL_KERNEL_ELL_SPMV   paralution_get_kernel_ocl<ValueType>(113)
 
#define CL_KERNEL_ELL_ADD_SPMV   paralution_get_kernel_ocl<ValueType>(117)
 
#define CL_KERNEL_DIA_SPMV   paralution_get_kernel_ocl<ValueType>(121)
 
#define CL_KERNEL_DIA_ADD_SPMV   paralution_get_kernel_ocl<ValueType>(125)
 
#define CL_KERNEL_COO_PERMUTE   paralution_get_kernel_ocl<ValueType>(129)
 
#define CL_KERNEL_COO_SPMV_FLAT   paralution_get_kernel_ocl<ValueType>(133)
 
#define CL_KERNEL_COO_SPMV_REDUCE_UPDATE   paralution_get_kernel_ocl<ValueType>(137)
 
#define CL_KERNEL_COO_SPMV_SERIAL   paralution_get_kernel_ocl<ValueType>(141)
 
#define CL_KERNEL_RED_RECURSE   paralution_get_kernel_ocl<ValueType>(145)
 
#define CL_KERNEL_RED_PARTIAL_SUM   paralution_get_kernel_ocl<ValueType>(149)
 
#define CL_KERNEL_RED_EXTRAPOLATE   paralution_get_kernel_ocl<ValueType>(153)
 
#define CL_KERNEL_CSR_PERMUTE_ROWS   paralution_get_kernel_ocl<ValueType>(157)
 
#define CL_KERNEL_CSR_PERMUTE_COLS   paralution_get_kernel_ocl<ValueType>(161)
 
#define CL_KERNEL_CSR_CALC_ROW_NNZ   paralution_get_kernel_ocl<ValueType>(165)
 
#define CL_KERNEL_CSR_PERMUTE_ROW_NNZ   paralution_get_kernel_ocl<ValueType>(169)
 
#define CL_KERNEL_REDUCE   paralution_get_kernel_ocl<ValueType>(173)
 
#define CL_KERNEL_ELL_MAX_ROW   paralution_get_kernel_ocl<ValueType>(177)
 
#define CL_KERNEL_ELL_CSR_TO_ELL   paralution_get_kernel_ocl<ValueType>(181)
 
#define CL_KERNEL_ASUM   paralution_get_kernel_ocl<ValueType>(185)
 
#define CL_KERNEL_AMAX   paralution_get_kernel_ocl<ValueType>(189)
 
#define CL_KERNEL_DENSE_SPMV   paralution_get_kernel_ocl<ValueType>(193)
 
#define CL_KERNEL_CSR_EXTRACT_L_TRIANGULAR   paralution_get_kernel_ocl<ValueType>(197)
 
#define CL_KERNEL_CSR_SLOWER_NNZ_PER_ROW   paralution_get_kernel_ocl<ValueType>(201)
 
#define CL_KERNEL_CSR_SUPPER_NNZ_PER_ROW   paralution_get_kernel_ocl<ValueType>(205)
 
#define CL_KERNEL_CSR_LOWER_NNZ_PER_ROW   paralution_get_kernel_ocl<ValueType>(209)
 
#define CL_KERNEL_CSR_UPPER_NNZ_PER_ROW   paralution_get_kernel_ocl<ValueType>(213)
 
#define CL_KERNEL_CSR_COMPRESS_COUNT_NROW   paralution_get_kernel_ocl<ValueType>(217)
 
#define CL_KERNEL_CSR_COMPRESS_COPY   paralution_get_kernel_ocl<ValueType>(221)
 
#define CL_KERNEL_SCALEADDSCALE_OFFSET   paralution_get_kernel_ocl<ValueType>(225)
 
#define CL_KERNEL_CSR_EXTRACT_U_TRIANGULAR   paralution_get_kernel_ocl<ValueType>(229)
 
#define CL_KERNEL_NORM   paralution_get_kernel_ocl<ValueType>(233)
 
#define CL_KERNEL_DOTC   paralution_get_kernel_ocl<ValueType>(237)
 
#define CL_KERNEL_CSR_DIAGMATMULT_L   paralution_get_kernel_ocl<ValueType>(241)
 
#define CL_KERNEL_POWER   paralution_get_kernel_ocl<ValueType>(245)
 
#define CL_KERNEL_ELL_NNZ_COO   paralution_get_kernel_ocl<ValueType>(249)
 
#define CL_KERNEL_ELL_FILL_ELL   paralution_get_kernel_ocl<ValueType>(253)
 
#define CL_KERNEL_ELL_FILL_COO   paralution_get_kernel_ocl<ValueType>(257)
 
#define CL_KERNEL_COPY_FROM_FLOAT   paralution_get_kernel_ocl<ValueType>(261)
 
#define CL_KERNEL_COPY_FROM_DOUBLE   paralution_get_kernel_ocl<ValueType>(265)
 
#define CL_KERNEL_DENSE_REPLACE_COLUMN_VECTOR   paralution_get_kernel_ocl<ValueType>(269)
 
#define CL_KERNEL_DENSE_REPLACE_ROW_VECTOR   paralution_get_kernel_ocl<ValueType>(273)
 
#define CL_KERNEL_DENSE_EXTRACT_COLUMN_VECTOR   paralution_get_kernel_ocl<ValueType>(277)
 
#define CL_KERNEL_DENSE_EXTRACT_ROW_VECTOR   paralution_get_kernel_ocl<ValueType>(281)
 
#define CL_KERNEL_CSR_EXTRACT_COLUMN_VECTOR   paralution_get_kernel_ocl<ValueType>(285)
 
#define CL_KERNEL_CSR_REPLACE_COLUMN_VECTOR_OFFSET   paralution_get_kernel_ocl<ValueType>(289)
 
#define CL_KERNEL_CSR_REPLACE_COLUMN_VECTOR   paralution_get_kernel_ocl<ValueType>(293)
 

Variables

static const std::string kernels_ocl [KERNELCOUNT]
 

Macro Definition Documentation

#define CL_KERNEL_AMAX   paralution_get_kernel_ocl<ValueType>(189)
#define CL_KERNEL_ASUM   paralution_get_kernel_ocl<ValueType>(185)
#define CL_KERNEL_AXPY   paralution_get_kernel_ocl<ValueType>( 49)
#define CL_KERNEL_BUFFER_ADDSCALAR   paralution_get_kernel_ocl<ValueType>( 9)
#define CL_KERNEL_COO_PERMUTE   paralution_get_kernel_ocl<ValueType>(129)
#define CL_KERNEL_COPY_FROM_DOUBLE   paralution_get_kernel_ocl<ValueType>(265)
#define CL_KERNEL_COPY_FROM_FLOAT   paralution_get_kernel_ocl<ValueType>(261)
#define CL_KERNEL_COPY_OFFSET_FROM   paralution_get_kernel_ocl<ValueType>( 33)
#define CL_KERNEL_CSR_ADD_CSR_SAME_STRUCT   paralution_get_kernel_ocl<ValueType>( 97)
#define CL_KERNEL_CSR_ADD_DIAGONAL   paralution_get_kernel_ocl<ValueType>( 69)
#define CL_KERNEL_CSR_ADD_OFFDIAGONAL   paralution_get_kernel_ocl<ValueType>( 73)
#define CL_KERNEL_CSR_ADD_SPMV_SCALAR   paralution_get_kernel_ocl<ValueType>( 57)
#define CL_KERNEL_CSR_CALC_ROW_NNZ   paralution_get_kernel_ocl<ValueType>(165)
#define CL_KERNEL_CSR_COMPRESS_COPY   paralution_get_kernel_ocl<ValueType>(221)
#define CL_KERNEL_CSR_COMPRESS_COUNT_NROW   paralution_get_kernel_ocl<ValueType>(217)
#define CL_KERNEL_CSR_DIAGMATMULT_L   paralution_get_kernel_ocl<ValueType>(241)
#define CL_KERNEL_CSR_DIAGMATMULT_R   paralution_get_kernel_ocl<ValueType>( 93)
#define CL_KERNEL_CSR_EXTRACT_COLUMN_VECTOR   paralution_get_kernel_ocl<ValueType>(285)
#define CL_KERNEL_CSR_EXTRACT_DIAG   paralution_get_kernel_ocl<ValueType>( 77)
#define CL_KERNEL_CSR_EXTRACT_INV_DIAG   paralution_get_kernel_ocl<ValueType>( 81)
#define CL_KERNEL_CSR_EXTRACT_L_TRIANGULAR   paralution_get_kernel_ocl<ValueType>(197)
#define CL_KERNEL_CSR_EXTRACT_SUBMATRIX_COPY   paralution_get_kernel_ocl<ValueType>( 89)
#define CL_KERNEL_CSR_EXTRACT_SUBMATRIX_ROW_NNZ   paralution_get_kernel_ocl<ValueType>( 85)
#define CL_KERNEL_CSR_EXTRACT_U_TRIANGULAR   paralution_get_kernel_ocl<ValueType>(229)
#define CL_KERNEL_CSR_LOWER_NNZ_PER_ROW   paralution_get_kernel_ocl<ValueType>(209)
#define CL_KERNEL_CSR_PERMUTE_COLS   paralution_get_kernel_ocl<ValueType>(161)
#define CL_KERNEL_CSR_PERMUTE_ROW_NNZ   paralution_get_kernel_ocl<ValueType>(169)
#define CL_KERNEL_CSR_PERMUTE_ROWS   paralution_get_kernel_ocl<ValueType>(157)
#define CL_KERNEL_CSR_REPLACE_COLUMN_VECTOR   paralution_get_kernel_ocl<ValueType>(293)
#define CL_KERNEL_CSR_REPLACE_COLUMN_VECTOR_OFFSET   paralution_get_kernel_ocl<ValueType>(289)
#define CL_KERNEL_CSR_SCALE_DIAGONAL   paralution_get_kernel_ocl<ValueType>( 61)
#define CL_KERNEL_CSR_SCALE_OFFDIAGONAL   paralution_get_kernel_ocl<ValueType>( 65)
#define CL_KERNEL_CSR_SLOWER_NNZ_PER_ROW   paralution_get_kernel_ocl<ValueType>(201)
#define CL_KERNEL_CSR_SPMV_SCALAR   paralution_get_kernel_ocl<ValueType>( 53)
#define CL_KERNEL_CSR_SUPPER_NNZ_PER_ROW   paralution_get_kernel_ocl<ValueType>(205)
#define CL_KERNEL_CSR_UPPER_NNZ_PER_ROW   paralution_get_kernel_ocl<ValueType>(213)
#define CL_KERNEL_DENSE_EXTRACT_COLUMN_VECTOR   paralution_get_kernel_ocl<ValueType>(277)
#define CL_KERNEL_DENSE_EXTRACT_ROW_VECTOR   paralution_get_kernel_ocl<ValueType>(281)
#define CL_KERNEL_DENSE_REPLACE_COLUMN_VECTOR   paralution_get_kernel_ocl<ValueType>(269)
#define CL_KERNEL_DENSE_REPLACE_ROW_VECTOR   paralution_get_kernel_ocl<ValueType>(273)
#define CL_KERNEL_DENSE_SPMV   paralution_get_kernel_ocl<ValueType>(193)
#define CL_KERNEL_DIA_ADD_SPMV   paralution_get_kernel_ocl<ValueType>(125)
#define CL_KERNEL_DIA_SPMV   paralution_get_kernel_ocl<ValueType>(121)
#define CL_KERNEL_DOT   paralution_get_kernel_ocl<ValueType>( 45)
#define CL_KERNEL_DOTC   paralution_get_kernel_ocl<ValueType>(237)
#define CL_KERNEL_ELL_ADD_SPMV   paralution_get_kernel_ocl<ValueType>(117)
#define CL_KERNEL_ELL_CSR_TO_ELL   paralution_get_kernel_ocl<ValueType>(181)
#define CL_KERNEL_ELL_FILL_COO   paralution_get_kernel_ocl<ValueType>(257)
#define CL_KERNEL_ELL_FILL_ELL   paralution_get_kernel_ocl<ValueType>(253)
#define CL_KERNEL_ELL_MAX_ROW   paralution_get_kernel_ocl<ValueType>(177)
#define CL_KERNEL_ELL_NNZ_COO   paralution_get_kernel_ocl<ValueType>(249)
#define CL_KERNEL_ELL_SPMV   paralution_get_kernel_ocl<ValueType>(113)
#define CL_KERNEL_MCSR_ADD_SPMV_SCALAR   paralution_get_kernel_ocl<ValueType>(109)
#define CL_KERNEL_MCSR_SPMV_SCALAR   paralution_get_kernel_ocl<ValueType>(105)
#define CL_KERNEL_NORM   paralution_get_kernel_ocl<ValueType>(233)
#define CL_KERNEL_PERMUTE   paralution_get_kernel_ocl<ValueType>( 37)
#define CL_KERNEL_PERMUTE_BACKWARD   paralution_get_kernel_ocl<ValueType>( 41)
#define CL_KERNEL_POINTWISEMULT   paralution_get_kernel_ocl<ValueType>( 25)
#define CL_KERNEL_POINTWISEMULT2   paralution_get_kernel_ocl<ValueType>( 29)
#define CL_KERNEL_POWER   paralution_get_kernel_ocl<ValueType>(245)
#define CL_KERNEL_RED_EXTRAPOLATE   paralution_get_kernel_ocl<ValueType>(153)
#define CL_KERNEL_RED_PARTIAL_SUM   paralution_get_kernel_ocl<ValueType>(149)
#define CL_KERNEL_RED_RECURSE   paralution_get_kernel_ocl<ValueType>(145)
#define CL_KERNEL_REDUCE   paralution_get_kernel_ocl<ValueType>(173)
#define CL_KERNEL_REVERSE_INDEX   paralution_get_kernel_ocl<ValueType>( 5)
#define CL_KERNEL_SCALE   paralution_get_kernel_ocl<ValueType>(101)
#define CL_KERNEL_SCALEADD   paralution_get_kernel_ocl<ValueType>( 13)
#define CL_KERNEL_SCALEADD2   paralution_get_kernel_ocl<ValueType>( 21)
#define CL_KERNEL_SCALEADDSCALE   paralution_get_kernel_ocl<ValueType>( 17)
#define CL_KERNEL_SCALEADDSCALE_OFFSET   paralution_get_kernel_ocl<ValueType>(225)

Variable Documentation

const std::string kernels_ocl[KERNELCOUNT]
static