Main Content

cuFFT

Enable use of cuFFT library

Since R2020b

Model Configuration Pane: Code Generation / GPU Code

Description

The cuFFT parameter specifies whether to replace FFT calls with NVIDIA® cuFFT library calls.

Dependencies

  • This parameter requires a GPU Coder™ license.

  • To enable this parameter, select Generate GPU code on the Code Generation pane.

Settings

on (default) | off
On

Allows GPU Coder to replace appropriate fft calls with calls to the cuFFT library.

Off

Disables use of the cuFFT library in the generated code. With this option, GPU Coder uses C FFTW libraries where available or generates kernels from portable MATLAB® fft code.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: GPUcuFFT
Type: character vector
Value: 'on' | 'off'
Default: 'on'

Version History

Introduced in R2020b