![]() |
Reference documentation for deal.II version 9.6.0
|
Classes | |
struct | Handle |
Functions | |
template<typename T > | |
void | malloc (T *&pointer, const unsigned int n_elements) |
template<typename T > | |
void | free (T *&pointer) |
template<typename Number > | |
Number * | allocate_device_data (const std::size_t size) |
template<typename Number > | |
void | delete_device_data (Number *device_ptr) noexcept |
template<typename T > | |
void | copy_to_host (const ArrayView< const T, MemorySpace::CUDA > &in, ArrayView< T, MemorySpace::Host > &out) |
template<typename T > | |
void | copy_to_dev (const ArrayView< const T, MemorySpace::Host > &in, ArrayView< T, MemorySpace::CUDA > &out) |
template<typename T > | |
void | copy_to_host (const T *pointer_dev, std::vector< T > &vector_host) |
template<typename T > | |
void | copy_to_dev (const std::vector< T > &vector_host, T *pointer_dev) |
A namespace for utility structures for CUDA.
|
inline |
|
inline |
Number * Utilities::CUDA::allocate_device_data | ( | const std::size_t | size | ) |
|
noexcept |
|
inline |
|
inline |
|
inline |
|
inline |