Buffer Sizes for CFFT

int32_t riscv_cfft_tmp_buffer_size(riscv_math_datatype dt, uint32_t nb_samples)
int32_t riscv_cfft_output_buffer_size(riscv_math_datatype dt, uint32_t nb_samples)
int32_t riscv_cifft_output_buffer_size(riscv_math_datatype dt, uint32_t nb_samples)
group Buffer Sizes for CFFT

Functions

int32_t riscv_cfft_tmp_buffer_size(riscv_math_datatype dt, uint32_t nb_samples)

Calculate required length for the temporary buffer.

Note

0 means not applicable (temporary buffer not needed)

Note

-1 means error : configuration not supported

Parameters:
  • dt[in] Data type of the input data

  • nb_samples[in] Number of samples

Returns:

Length in datatype elements (real numbers) for the temporary buffer

int32_t riscv_cfft_output_buffer_size(riscv_math_datatype dt, uint32_t nb_samples)

Calculate required length for the output buffer.

Note

0 means not applicable (temporary buffer not needed)

Note

-1 means error : configuration not supported

Parameters:
  • dt[in] Data type of the input data

  • nb_samples[in] Number of samples in the input data

Returns:

Length in datatype elements (real numbers) for the output buffer

int32_t riscv_cifft_output_buffer_size(riscv_math_datatype dt, uint32_t nb_samples)

Calculate required length for the output buffer.

Note

0 means not applicable (temporary buffer not needed)

Note

-1 means error : configuration not supported

Parameters:
  • dt[in] Data type of the input data

  • nb_samples[in] Number of samples in the input data

Returns:

Length in datatype elements (real numbers) for the output buffer