You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to call Z2D to calculate the fft of multiple batches. Is there any problem with this call? Why is the result so different from fftw? Also, I'm using version 1.2.12.
I want to call Z2D to calculate the fft of multiple batches. Is there any problem with this call? Why is the result so different from fftw? Also, I'm using version 1.2.12.
VkFFTConfiguration configuration = {};
VkFFTApplication app_outplace = {};
hipDevice_t device;
uint64_t bufferSize = 0;
uint64_t inputbufferSize = 0;
...
configuration.device = &plan->device;
configuration.FFTdim = 1;
configuration.size[0] = 3;
configuration.numberBatches = 4;
configuration.bufferNum = 1;
configuration.inputBufferNum = 1;
configuration.inputBufferStride[dim - 1] = xxx;
configuration.bufferStride[dim - 1] = xxx;
configuration.inputbufferSize = xxx;
configuration.bufferSize = xxx;
configuration.doublePrecision = true;
configuration.performR2C = true;
configuration.inverseReturnToInputBuffer = true;
configuration.isInputFormatted = true;
VkFFTResult fftResult = initializeVkFFT(&plan->app_outplace, plan->configuration);
VkFFTLaunchParams launchParams = {};
launchParams.inputBuffer = (void**)&odata;
launchParams.buffer = (void**)&idata;
VkFFTResult resVkFFT = VKFFT_SUCCESS;
resVkFFT = VkFFTAppend(&plan->app_outplace, 1, &launchParams);
The text was updated successfully, but these errors were encountered: