Highly Efficient FFT for Exascale: HeFFTe v2.4
|
Wrapper around a MAGMA handle in a GPU context. More...
#include <heffte_magma_helpers.h>
Public Member Functions | |
magma_handle (void *gpu_stream) | |
Constructor, calls magma_init() and creates a new queue on the given stream. | |
~magma_handle () | |
Destructor, cleans the queue and calls magma_finalize(). | |
void | scal (int num_entries, double scale_factor, float *data) const |
Wrapper around magma_sscal() | |
void | scal (int num_entries, double scale_factor, double *data) const |
Wrapper around magma_dscal() | |
template<typename precision_type > | |
void | scal (int num_entries, double scale_factor, std::complex< precision_type > *data) const |
Template for the complex case, uses reinterpret_cast(). | |
Public Attributes | |
void * | handle |
Opaque pointer to a magma_queue. | |
Wrapper around a MAGMA handle in a GPU context.
Class that wraps around MAGMA capabilities.