Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Namespaces | Functions
cuda_sparse_matrix.cc File Reference
#include <deal.II/base/cuda_size.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/lac/cuda_atomic.h>
#include <deal.II/lac/cuda_sparse_matrix.h>
#include <cusparse.h>

Go to the source code of this file.

Namespaces

namespace  CUDAWrappers
 
namespace  CUDAWrappers::internal
 

Functions

template<typename Number >
__global__ void CUDAWrappers::internal::scale (Number *val, const Number a, const typename SparseMatrix< Number >::size_type N)
 
void CUDAWrappers::internal::create_sp_mat_descr (int m, int n, int nnz, const float *A_val_dev, const int *A_row_ptr_dev, const int *A_column_index_dev, cusparseSpMatDescr_t &sp_descr)
 
void CUDAWrappers::internal::create_sp_mat_descr (int m, int n, int nnz, const double *A_val_dev, const int *A_row_ptr_dev, const int *A_column_index_dev, cusparseSpMatDescr_t &sp_descr)
 
void CUDAWrappers::internal::csrmv (cusparseHandle_t handle, bool transpose, int m, int n, const cusparseSpMatDescr_t sp_descr, const float *x, bool add, float *y)
 
void CUDAWrappers::internal::csrmv (cusparseHandle_t handle, bool transpose, int m, int n, const cusparseSpMatDescr_t sp_descr, const double *x, bool add, double *y)
 
template<typename Number >
__global__ void CUDAWrappers::internal::l1_norm (const typename SparseMatrix< Number >::size_type n_rows, const Number *val_dev, const int *column_index_dev, const int *row_ptr_dev, Number *sums)
 
template<typename Number >
__global__ void CUDAWrappers::internal::linfty_norm (const typename SparseMatrix< Number >::size_type n_rows, const Number *val_dev, const int *, const int *row_ptr_dev, Number *sums)