riscv_const_structs_f16.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* ----------------------------------------------------------------------
  2. * Project: NMSIS DSP Library
  3. * Title: riscv_const_structs_f16.h
  4. * Description: Constant structs that are initialized for user convenience.
  5. * For example, some can be given as arguments to the riscv_cfft_f16() function.
  6. *
  7. * @version V1.10.0
  8. * @date 08 July 2021
  9. *
  10. * Target Processor: RISC-V Cores
  11. * -------------------------------------------------------------------- */
  12. /*
  13. * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
  14. * Copyright (c) 2019 Nuclei Limited. All rights reserved.
  15. *
  16. * SPDX-License-Identifier: Apache-2.0
  17. *
  18. * Licensed under the Apache License, Version 2.0 (the License); you may
  19. * not use this file except in compliance with the License.
  20. * You may obtain a copy of the License at
  21. *
  22. * www.apache.org/licenses/LICENSE-2.0
  23. *
  24. * Unless required by applicable law or agreed to in writing, software
  25. * distributed under the License is distributed on an AS IS BASIS, WITHOUT
  26. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  27. * See the License for the specific language governing permissions and
  28. * limitations under the License.
  29. */
  30. #ifndef RISCV_CONST_STRUCTS_F16_H
  31. #define RISCV_CONST_STRUCTS_F16_H
  32. #include "riscv_math_types_f16.h"
  33. #include "riscv_common_tables.h"
  34. #include "riscv_common_tables_f16.h"
  35. #include "dsp/transform_functions_f16.h"
  36. #ifdef __cplusplus
  37. extern "C"
  38. {
  39. #endif
  40. #if defined(RISCV_FLOAT16_SUPPORTED)
  41. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len16;
  42. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len32;
  43. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len64;
  44. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len128;
  45. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len256;
  46. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len512;
  47. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len1024;
  48. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len2048;
  49. extern const riscv_cfft_instance_f16 riscv_cfft_sR_f16_len4096;
  50. #endif
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54. #endif