|
Cutlass
CUDA Templates for Linear Algebra Subroutines and Solvers
|
#include <complex.h>
Public Types | |
| typedef T | value_type |
| Type alias for scalar type. More... | |
Public Member Functions | |
| CUTLASS_HOST_DEVICE | complex (T r=T(0), T i=T(0)) |
| Constructor. More... | |
| CUTLASS_HOST_DEVICE | complex (cuFloatComplex const &z) |
| Conversion from cuFloatComplex. More... | |
| CUTLASS_HOST_DEVICE | complex (cuDoubleComplex const &z) |
| Conversion from cuDoubleComplex. More... | |
| CUTLASS_HOST_DEVICE T const & | real () const |
| Accesses the real part of the complex number. More... | |
| CUTLASS_HOST_DEVICE T & | real () |
| Accesses the real part of the complex number. More... | |
| CUTLASS_HOST_DEVICE T const & | imag () const |
| Accesses the imaginary part of the complex number. More... | |
| CUTLASS_HOST_DEVICE T & | imag () |
| Accesses the imaginary part of the complex number. More... | |
| CUTLASS_HOST_DEVICE | operator cuFloatComplex () const |
| Converts to cuFloatComplex. More... | |
| CUTLASS_HOST_DEVICE | operator cuDoubleComplex () const |
| Converts to cuDoubleComplex. More... | |
Class for representing and manipulating complex numbers with conversions from built-in CUDA complex types.
| typedef T cutlass::platform::complex< T >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.14