muFFT API Reference
1 Introduction
The muFFT library is a Fast Fourier Transform(FFT) product of the Moore Threads® MUSA® Toolkit.
The FFT is a divide-and-conquer algorithm that can efficiently compute discrete Fourier transforms of complex or real-valued data sets.
The muFFT library offers a simple interface for performing FFTs and supports a wide range of FFT inputs and options efficiently on an MT GPU, enabling users to quickly take use of the GPU's parallelism and floating-point capabilities in an FFT library.
2 Module Index
2.1 Modules
Here is a list of all modules:
Date Types
muFFT Library Functions
3 Module Documentation
3.1 Date Types
Macros
- #define MUFFT_FORWARD - Perform a forward FFT.
- #define MUFFT_INVERSE 1 Perform a backward/inverse FFT.
Typedefs
- typedef enum mufftResult_t mufftResult Return status codes.
- typedef enum mufftType_t mufftType Transform type.
- typedef enum mufftLibraryPropertyType_t mufftLibraryPropertyType Property type.
- typedef struct mufftHandle_t∗ mufftHandle A handle type used to store and access muFFT plans. The user receives a handle after creating a muFFT plan and uses this handle to execute the plan.
- typedef float mufftReal A single-precision, floating-point real data type.
- typedef double mufftDoubleReal A double-precision, floating-point real data type.
- typedef muComplex mufftComplex A single-precision, floating-point complex data type that consists of interleaved real and imaginary components.
- typedef muDoubleComplex mufftDoubleComplex A double-precision, floating-point complex data type that consists of interleaved real and imaginary components.
Enumerations
- enum mufftResult_t {
**MUFFT_SUCCESS** = 0 ,
**MUFFT_INVALID_PLAN** = 1 ,
**MUFFT_ALLOC_FAILED** = 2 ,
**MUFFT_INVALID_TYPE** = 3 ,
**MUFFT_INVALID_VALUE** = 4 ,
**MUFFT_INTERNAL_ERROR** = 5 ,
**MUFFT_EXEC_FAILED** = 6 ,
**MUFFT_SETUP_FAILED** = 7 ,
**MUFFT_INVALID_SIZE** = 8 ,
**MUFFT_UNALIGNED_DATA** = 9 ,
**MUFFT_INCOMPLETE_PARAMETER_LIST** = 0xA ,
**MUFFT_INVALID_DEVICE** ,
**MUFFT_PARSE_ERROR** = 0xC ,
**MUFFT_NO_WORKSPACE** ,
**MUFFT_NOT_IMPLEMENTED** ,
**MUFFT_LICENSE_ERROR** ,
**MUFFT_NOT_SUPPORTED** }
Return status codes.
- enum mufftType_t {
**MUFFT_R2C** = 0x2a ,
**MUFFT_C2R** = 0x2c ,
**MUFFT_C2C** = 0x29 ,
**MUFFT_D2Z** = 0x6a ,
**MUFFT_Z2D** = 0x6c ,
**MUFFT_Z2Z** = 0x69 }
Transform type.
- enum mufftLibraryPropertyType_t {
**MUFFT_MAJOR_VERSION** ,
**MUFFT_MINOR_VERSION** ,
**MUFFT_PATCH_LEVEL** }
Property type.