Reference documentation for deal.II version 9.5.0
|
#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.
Classes | |
struct | Utilities::CUDA::Handle |
Namespaces | |
namespace | Utilities |
namespace | 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 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) |