- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can we do the following
status = DftiCreateDescriptor( &ifft_handle, DFTI_SINGLE,DFTI_COMPLEX, 1, 5400);
for(int i = 0; i < 100; i++) {
float scale = 1 * i;
status = DftiSetValue( ifft_handle, DFTI_FORWARD_SCALE, scale);
status = DftiCommitDescriptor( ifft_handle);// inovke fft
}
status = DftiFreeDescriptor (&ifft_handle);
So can we reuse the Dfti descriptor even after comitting?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. This is a supported usage model. As long as you re-commit the descriptor after modifying it using DftiSetValue, you can use it again.This is what the documentation of DftiCommitDescriptor says:
If you call the DftiSetValue function to change configuration parameters of a committed descriptor see Descriptor Configuration Functions), you must re-commit the descriptor before invoking a computation function. Typically, a committal function call is immediately followed by a computation function call

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page