Multi-Transform

Note

Only fully independent transforms can be executed in parallel.

Functions

SpfftError spfft_multi_transform_forward(int numTransforms, SpfftTransform *transforms, SpfftProcessingUnitType *inputLocations, double **outputPointers, SpfftScalingType *scalingTypes)

Execute multiple independent forward transforms at once by internal pipelining.

Return

Error code or SPFFT_SUCCESS.

Parameters
  • [in] numTransforms: Number of transforms to execute.

  • [in] transforms: Transforms to execute.

  • [in] inputLocations: Input locations for each transform.

  • [out] outputPointers: Output pointers for each transform.

  • [in] scalingTypes: Scaling types for each transform.

SpfftError spfft_multi_transform_backward(int numTransforms, SpfftTransform *transforms, double **inputPointers, SpfftProcessingUnitType *outputLocations)

Execute multiple independent backward transforms at once by internal pipelining.

Return

Error code or SPFFT_SUCCESS.

Parameters
  • [in] numTransforms: Number of transforms to execute.

  • [in] transforms: Transforms to execute.

  • [in] inputPointers: Input pointers for each transform.

  • [in] outputLocations: Output locations for each transform.

Functions

SpfftError spfft_float_multi_transform_forward(int numTransforms, SpfftFloatTransform *transforms, SpfftProcessingUnitType *inputLocations, float **outputPointers, SpfftScalingType *scalingTypes)

Execute multiple independent forward transforms at once by internal pipelining.

Return

Error code or SPFFT_SUCCESS.

Parameters
  • [in] numTransforms: Number of transforms to execute.

  • [in] transforms: Transforms to execute.

  • [in] inputLocations: Input locations for each transform.

  • [out] outputPointers: Output pointers for each transform.

  • [in] scalingTypes: Scaling types for each transform.

SpfftError spfft_float_multi_transform_backward(int numTransforms, SpfftFloatTransform *transforms, float **inputPointers, SpfftProcessingUnitType *outputLocations)

Execute multiple independent backward transforms at once by internal pipelining.

Return

Error code or SPFFT_SUCCESS.

Parameters
  • [in] numTransforms: Number of transforms to execute.

  • [in] transforms: Transforms to execute.

  • [in] inputPointers: Input pointers for each transform.

  • [in] outputLocations: Output locations for each transform.