Reference documentation for deal.II version GIT 574c7c8486 2023-09-22 10:20:02+00:00
\(\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/array_view.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.


struct  Utilities::CUDA::Handle




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 ArrayView< const T, MemorySpace::CUDA > &in, ArrayView< T, MemorySpace::Host > &out)
template<typename T >
void Utilities::CUDA::copy_to_dev (const ArrayView< const T, MemorySpace::Host > &in, ArrayView< T, MemorySpace::CUDA > &out)
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)