Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Initialize Library VI

LabVIEW 2012 GPU Analysis Toolkit Help

Edition Date: June 2012

Part Number: 373575A-01

»View Product Info
Download Help (Windows Only)

Owning Palette: LVCUFFT

Requires: GPU Analysis Toolkit

Prepares the device for FFT operations by selecting the type of FFT you want to compute. The initialization process reserves resources on the device to improve performance.

You must manually select the polymorphic instance you want to use.

Details  Example

Use the pull-down menu to select an instance of this VI.

Initalize Library (1D FFT)

CUDA Context in specifies the device context in which to initialize the CUFFT library.
size specifies the size of the signals to transform.
type specifies the type of FFT to compute.

The FFT type includes information on the FFT size, the number of FFTs to perform in parallel on the device, and the data type of the input signals or spectrums.



0CUFFT_R2C—Real FFT – SGL
1CUFFT_C2R—Inverse Real FFT – SGL
2CUFFT_C2C (default)—(Inverse) Complex FFT - CSG
3CUFFT_D2Z—Real FFT – DBL
4CUFFT_Z2D—Inverse Real FFT – DBL
5CUFFT_Z2Z—(Inverse) Complex FFT – CDB
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
batch specifies the number of signals to transform.
CUDA Context out returns the device context in which LabVIEW initializes the FFT library.
CUFFT Handle returns the handle to the FFT library.
CUFFT Version returns the current version of the initialized CUFFT library.
error out contains error information. This output provides standard error out functionality.

Initalize Library (2D FFT)

CUDA Context in specifies the device context in which to initialize the CUFFT library.
rows specifies the size, in rows, of the signals to transform.
columns specifies the size, in columns, of the signals to transform.
type specifies the type of FFT to compute.

The FFT type includes information on the FFT size, the number of FFTs to perform in parallel on the device, and the data type of the input signals or spectrums.



0CUFFT_R2C—Real FFT – SGL
1CUFFT_C2R—Inverse Real FFT – SGL
2CUFFT_C2C (default)—(Inverse) Complex FFT - CSG
3CUFFT_D2Z—Real FFT – DBL
4CUFFT_Z2D—Inverse Real FFT – DBL
5CUFFT_Z2Z—(Inverse) Complex FFT – CDB
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
batch specifies the number of signals to transform.
CUDA Context out returns the device context in which LabVIEW initializes the FFT library.
CUFFT Handle returns the handle to the FFT library.
CUFFT Version returns the current version of the initialized CUFFT library.
error out contains error information. This output provides standard error out functionality.

Initialize Library Details

For more information about this VI, refer to the Designing the Block Diagram to Compute on a GPU Device topic.

Example

Refer to the Multi-channel FFT VI in the labview\examples\lvgpu\Multi-channel FFT directory for an example of using the Initialize Library VI.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit