Problems with AMD OpenCL FFT plans

Discussion created by vdecyk on Feb 14, 2011
Latest reply on Feb 15, 2011 by genaganna


I tried creating a new plan using clAmdFftCopyPlan. The new plan differs from the old one in only two ways, the dimensionality parameter dim and the batchSize, which I set by calling clAmdFftSetPlanLength and clAmdFftSetPlanBatchSize. The new plan gives no error, but produces the wrong result, except for the first batch.  If I create the new plan from scratch, everything works correctly.  If the new plan sets only the batchSize, it also works correctly.  So something goes wrong when calling clAmdFftSetPlanLength.  Is this a bug or is changing the dimensionality not permitted?