Initialize Library VI
- Updated2023-02-21
- 4 minute(s) read
Initialize Library VI
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.
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.
|
||||||||||||
![]() |
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.
|
||||||||||||
![]() |
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.






