#include <cusparse.h>
#include <exception>
#include <complex.h>
#include <thrust/complex.h>
Go to the source code of this file.
|
namespace | dg |
| This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
|
|
namespace | dg::detail |
|
|
template<class value_type > |
cudaDataType_t | dg::detail::getCudaDataType () |
|
template<> |
cudaDataType_t | dg::detail::getCudaDataType< int > () |
|
template<> |
cudaDataType_t | dg::detail::getCudaDataType< float > () |
|
template<> |
cudaDataType_t | dg::detail::getCudaDataType< double > () |
|
template<> |
cudaDataType_t | dg::detail::getCudaDataType< std::complex< float > > () |
|
template<> |
cudaDataType_t | dg::detail::getCudaDataType< std::complex< double > > () |
|
template<> |
cudaDataType_t | dg::detail::getCudaDataType< thrust::complex< float > > () |
|
template<> |
cudaDataType_t | dg::detail::getCudaDataType< thrust::complex< double > > () |
|
template<class value_type > |
cusparseIndexType_t | dg::detail::getCudaIndexType () |
|
template<> |
cusparseIndexType_t | dg::detail::getCudaIndexType< int > () |
|
template<> |
cusparseIndexType_t | dg::detail::getCudaIndexType< signed long int > () |
|
template<class I , class V , class value_type , class C1 , class C2 > |
void | dg::detail::spmv_gpu_kernel (CSRCache_gpu &cache, size_t A_num_rows, size_t A_num_cols, size_t A_nnz, const I *A_pos, const I *A_idx, const V *A_val, value_type alpha, value_type beta, const C1 *x_ptr, C2 *y_ptr) |
|