10.3.5. Example: Minimal Valid Descriptor - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English
aoclfftz_dim_t dims[1] = { {1024, 1, 1} }; // 1D FFT of length 1024 with unit elemental stride for input and output data
aoclfftz_dim_t vecs[1] = { {10, 1, 1} };   // Batch of 10 with unit elemental stride for input and output data

aoclfftz_prob_desc_f problem =
{
    .in = input_buffer,
    .out = output_buffer,
    .vec_rank = 1,
    .dim_rank = 1,
    .dims = dims,
    .vecs = vecs,
    .flags = {0, 0, 0, 1, 0}, // Complex, Forward, In-order, Out-of-place, No transpose
    .pthr_fft = {1, 0},
    .cntrl_params = {3, 0, 0, 0}
};