Reference documentation for deal.II version Git a285ab78cc 2020-08-04 19:09:24 +0200
\(\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\}}\)
Classes | Namespaces | Functions
cuda.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/exceptions.h>
#include <cusolverDn.h>
#include <cusolverSp.h>
#include <cusparse.h>
#include <vector>

Go to the source code of this file.

Classes

struct  Utilities::CUDA::Handle
 

Namespaces

 Utilities
 
 Utilities::CUDA
 

Functions

template<typename T >
void Utilities::CUDA::malloc (T *&pointer, const unsigned int n_elements)
 
template<typename T >
void Utilities::CUDA::free (T *&pointer)
 
template<typename Number >
Number * Utilities::CUDA::allocate_device_data (const std::size_t size)
 
template<typename Number >
void Utilities::CUDA::delete_device_data (Number *device_ptr) noexcept
 
template<typename T >
void Utilities::CUDA::copy_to_host (const T *pointer_dev, std::vector< T > &vector_host)
 
template<typename T >
void Utilities::CUDA::copy_to_dev (const std::vector< T > &vector_host, T *pointer_dev)