PARALUTION  1.0.0
PARALUTION
mic_matrix_dia_kernel.hpp
Go to the documentation of this file.
1 #ifndef PARALUTION_MIC_MATRIX_DIA_KERNEL_HPP_
2 #define PARALUTION_MIC_MATRIX_DIA_KERNEL_HPP_
3 
4 namespace paralution {
5 
6 template <typename ValueType>
7 void spmv_dia(const int mic_dev,
8  const int *offset, const ValueType *val,
9  const int nrow,
10  const int ndiag,
11  const ValueType *in, ValueType *out);
12 
13 template <typename ValueType>
14 void spmv_add_dia(const int mic_dev,
15  const int *offset, const ValueType *val,
16  const int nrow,
17  const int ndiag,
18  const ValueType scalar,
19  const ValueType *in, ValueType *out);
20 
21 }
22 
23 #endif // PARALUTION_BASE_MATRIX_DIA_KERNEL_HPP_
void spmv_add_dia(const int mic_dev, const int *offset, const ValueType *val, const int nrow, const int ndiag, const ValueType scalar, const ValueType *in, ValueType *out)
Definition: mic_matrix_dia_kernel.cpp:52
const IndexType const IndexType const IndexType const ValueType const ValueType scalar
Definition: cuda_kernels_coo.hpp:91
void spmv_dia(const int mic_dev, const int *offset, const ValueType *val, const int nrow, const int ndiag, const ValueType *in, ValueType *out)
Definition: mic_matrix_dia_kernel.cpp:9
Definition: backend_manager.cpp:43