bench_f16.txt 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  1. group Root {
  2. class = Root
  3. group DSP Benchmarks {
  4. class = DSPBenchmarks
  5. folder = DSP
  6. group Statistics Benchmarks {
  7. class = Stats
  8. folder = Stats
  9. suite Statistics Benchmarks F16 {
  10. class = StatsF16
  11. folder = StatsF16
  12. ParamList {
  13. NB
  14. Summary NB
  15. Names "NB Samples"
  16. Formula "NB"
  17. }
  18. Pattern INPUT1_F16_ID : InputBench1_f16.txt
  19. Pattern INPUT2_F16_ID : InputBench2_f16.txt
  20. Output OUT_F16_ID : Output
  21. Output OUT_S16_ID : Index
  22. Output TMP_F16_ID : Temp
  23. Params PARAM1_ID = {
  24. A = [16,32,64,128,256]
  25. }
  26. Functions {
  27. Vector maximum:test_max_f16
  28. Vector average:test_mean_f16
  29. Vector minimum:test_min_f16
  30. Vector energy:test_power_f16
  31. Vector root mean square:test_rms_f16
  32. Vector standard deviation:test_std_f16
  33. Vector variance:test_var_f16
  34. Entropy:test_entropy_f16
  35. Vector logsumexp:test_logsumexp_f16
  36. Kullback Leibler divergence:test_kullback_leibler_f16
  37. Vector logsumexp dot product:test_logsumexp_dot_prod_f16
  38. Vector max with no index:test_max_no_idx_f16
  39. Vector absolute maximum:test_absmax_f16
  40. Vector absolute minimum:test_absmin_f16
  41. } -> PARAM1_ID
  42. }
  43. }
  44. group Basic Maths {
  45. class = BasicBenchmarks
  46. folder = BasicMaths
  47. suite Basic Maths Benchmarks F16 {
  48. class = BasicMathsBenchmarksF16
  49. folder = BasicMathsF16
  50. ParamList {
  51. NB
  52. Summary NB
  53. Names "NB Samples"
  54. Formula "NB"
  55. }
  56. Pattern INPUT1_F16_ID : Input1_f16.txt
  57. Pattern INPUT2_F16_ID : Input2_f16.txt
  58. Output OUT_SAMPLES_F16_ID : Output
  59. Params PARAM1_ID = {
  60. A = [16,32,64,128,256]
  61. }
  62. Functions {
  63. Elementwise multiplication:vec_mult_f16
  64. Vector addition:vec_add_f16
  65. Vector substraction:vec_sub_f16
  66. Elementwise absolute value:vec_abs_f16
  67. Elementwise negation:vec_negate_f16
  68. Elementwise offset:vec_offset_f16
  69. Vector scaling:vec_scale_f16
  70. Dot product:vec_dot_f16
  71. } -> PARAM1_ID
  72. }
  73. }
  74. group Complex Maths {
  75. class = ComplexBenchmarks
  76. folder = ComplexMaths
  77. suite ComplexMaths Benchmarks F16 {
  78. class = ComplexMathsBenchmarksF16
  79. folder = ComplexMathsF16
  80. ParamList {
  81. NB
  82. Summary NB
  83. Names "NB Samples"
  84. Formula "NB"
  85. }
  86. Pattern INPUT1_F16_ID : Input1_f16.txt
  87. Pattern INPUT2_F16_ID : Input2_f16.txt
  88. Pattern INPUT3_F16_ID : Input3_f16.txt
  89. Output OUT_SAMPLES_F16_ID : Output
  90. Params PARAM1_ID = {
  91. A = [16,32,64,128,256]
  92. }
  93. Functions {
  94. Elementwise conjugate:vec_conj_f16
  95. Complex dot product:vec_dot_prod_f16
  96. Elementwise modulus:vec_mag_f16
  97. Elementwise modulus squared:vec_mag_squared_f16
  98. Elementwise complex multiplication:vec_mult_cmplx_f16
  99. Vector scaling by real number:vec_mult_real_f16
  100. } -> PARAM1_ID
  101. }
  102. }
  103. group Filtering {
  104. class = DSPFiltering
  105. folder = Filtering
  106. group FIR {
  107. class = FIR
  108. folder = FIR
  109. suite FIR F16 {
  110. class = FIRF16
  111. folder = FIRF16
  112. ParamList {
  113. NumTaps, NB
  114. Summary NumTaps, NB
  115. Names "Number of taps","Number of samples"
  116. Formula "NumTaps * NB"
  117. }
  118. Pattern SAMPLES1_F16_ID : Samples1_f16.txt
  119. Pattern REFS1_F16_ID : Refs1_f16.txt
  120. Pattern COEFS1_F16_ID : Coefs1_f16.txt
  121. Output OUT_SAMPLES_F16_ID : Output
  122. Output STATE_F16_ID : State
  123. Output ERR_F16_ID : Err
  124. Params PARAM1_ID = {
  125. NumTaps = [16,32,64]
  126. NB = [64,128,256]
  127. }
  128. Functions {
  129. FIR Filter:test_fir_f16
  130. } -> PARAM1_ID
  131. }
  132. }
  133. group Convolutions / Correlations {
  134. class = MISC
  135. folder = MISC
  136. suite Convolutions / Correlations F16 {
  137. class = MISCF16
  138. folder = MISCF16
  139. ParamList {
  140. NBA, NBB
  141. Summary NBA, NBB
  142. Names "Number of samples A,Number of samples B"
  143. Formula "NBA * NBB"
  144. }
  145. Pattern INPUTSA1_F16_ID : InputsA1_f16.txt
  146. Pattern INPUTSB1_F16_ID : InputsB1_f16.txt
  147. Output OUT_SAMPLES_F16_ID : Output
  148. Params PARAM1_ID = {
  149. NBA = [9,16,64]
  150. NBB = [9,16,128]
  151. }
  152. Functions {
  153. disabled{Convolution:test_conv_f16}
  154. Correlation:test_correlate_f16
  155. } -> PARAM1_ID
  156. }
  157. }
  158. group BiQuads {
  159. class = BIQUAD
  160. folder = BIQUAD
  161. suite BiQuads F16 {
  162. class = BIQUADF16
  163. folder = BIQUADF16
  164. ParamList {
  165. NumStages, NB
  166. Summary NumStages, NB
  167. Names "Number of stages","Number of samples"
  168. Formula "NumStages * NB"
  169. }
  170. Pattern SAMPLES1_F16_ID : Samples1_f16.txt
  171. Pattern COEFS1_F16_ID : Coefs1_f16.txt
  172. Output OUT_SAMPLES_F16_ID : Output
  173. Output STATE_F16_ID : State
  174. Output NEON_COEFS_F16_ID : NeonCoefs
  175. Params PARAM1_ID = {
  176. NumStages = [1,2,4]
  177. NB = [16,128,256]
  178. }
  179. Functions {
  180. Cascaded BiQuad Filter DF1:test_biquad_cascade_df1_f16
  181. Cascaded BiQuad Filter DF2T:test_biquad_cascade_df2T_f16
  182. Cascaded BiQuad Filter Stereo DF2T:test_biquad_cascade_stereo_df2T_f16
  183. } -> PARAM1_ID
  184. }
  185. }
  186. }
  187. group Fast Maths {
  188. class = FastMath
  189. folder = FastMath
  190. suite Fast Maths F16 {
  191. class = FastMathF16
  192. folder = FastMathF16
  193. ParamList {
  194. NB
  195. Summary NB
  196. Names "Number of samples"
  197. Formula "NB"
  198. }
  199. Pattern SAMPLES_F16_ID : Samples1_f16.txt
  200. Output OUT_SAMPLES_F16_ID : Output
  201. Params PARAM1_ID = {
  202. NB = [64,128,256]
  203. }
  204. Functions {
  205. disabled{Cosine:test_cos_f16}
  206. disabled{Sine:test_sin_f16}
  207. Square Root:test_sqrt_f16
  208. } -> PARAM1_ID
  209. }
  210. }
  211. group Bayes{
  212. class = Bayes
  213. folder = Bayes
  214. suite Bayes F16 {
  215. class = BayesF16
  216. folder = BayesF16
  217. ParamList {
  218. VECDIM,NBCLASSES
  219. Summary VECDIM,NBCLASSES
  220. Names "Vector dimension","Number of classes"
  221. Formula "VECDIM*NBCLASSES"
  222. }
  223. Pattern DIMS2_S16_ID : DimsBench2_s16.txt
  224. Pattern INPUTS2_F16_ID : Inputs2_f16.txt
  225. Pattern PARAMS2_F16_ID : Params2_f16.txt
  226. Pattern PREDICTS2_S16_ID : Predicts2_s16.txt
  227. Output OUT_PROBA_F16_ID : Probas
  228. Output OUT_PREDICT_S16_ID : Predicts
  229. // Must be consistent with the Python script
  230. Params PARAM1_ID = {
  231. VECDIM = [12,14,20]
  232. NBCLASSES = [3,5,4]
  233. }
  234. Functions {
  235. Naive Gaussian Bayes Predictor:test_gaussian_naive_bayes_predict_f16
  236. } -> PARAM1_ID
  237. }
  238. }
  239. group Distance {
  240. class = Distance
  241. folder = Distance
  242. suite Distance F16 {
  243. class = DistanceF16
  244. folder = DistanceF16
  245. ParamList {
  246. NB
  247. Summary NB
  248. Names "NB Samples"
  249. Formula "NB"
  250. }
  251. Pattern INPUTA_F16_ID : InputBenchA1_f16.txt
  252. Pattern INPUTB_F16_ID : InputBenchB1_f16.txt
  253. Pattern INPUTA_PROBA_F16_ID : InputBenchProbaA1_f16.txt
  254. Pattern INPUTB_PROBA_F16_ID : InputBenchProbaB1_f16.txt
  255. Output TMPA_F16_ID : TmpA
  256. Output TMPB_F16_ID : TmpB
  257. Params PARAM1_ID = {
  258. NB = [16,32,64,128,256]
  259. }
  260. Functions {
  261. Bray Curtis distance:test_braycurtis_distance_f16
  262. Canberra distance:test_canberra_distance_f16
  263. Chebyshev distance:test_chebyshev_distance_f16
  264. Cityblock distance:test_cityblock_distance_f16
  265. Correlation distance:test_correlation_distance_f16
  266. Cosine distance:test_cosine_distance_f16
  267. Euclidean distance:test_euclidean_distance_f16
  268. Jensen Shannon distance:test_jensenshannon_distance_f16
  269. Minkowski distance:test_minkowski_distance_f16
  270. } -> PARAM1_ID
  271. }
  272. }
  273. group SVM {
  274. class = SVM
  275. folder = SVM
  276. suite SVM F16 {
  277. class = SVMF16
  278. folder = SVMF16
  279. ParamList {
  280. VECDIM,NBVECS
  281. Summary VECDIM,NBVECS
  282. Names "Vector dimension","Number of suppot vectors"
  283. Formula "VECDIM*NBVECS"
  284. }
  285. Pattern INPUT_F16_ID : InputsBench6_f16.txt
  286. Pattern DIMS_LINEAR_S16_ID : DimsLinear6_s16.txt
  287. Pattern PARAMS_LINEAR_F16_ID : ParamsLinear6_f16.txt
  288. Pattern DIMS_POLY_S16_ID : DimsPoly6_s16.txt
  289. Pattern PARAMS_POLY_F16_ID : ParamsPoly6_f16.txt
  290. Pattern DIMS_RBF_S16_ID : DimsRBF6_s16.txt
  291. Pattern PARAMS_RBF_F16_ID : ParamsRBF6_f16.txt
  292. Pattern DIMS_SIGMOID_S16_ID : DimsSigmoid6_s16.txt
  293. Pattern PARAMS_SIGMOID_F16_ID : ParamsSigmoid6_f16.txt
  294. Output OUT_S32_ID : Output
  295. // Must be consistent with the Python script
  296. Params PARAM1_ID = {
  297. VECDIM = [16,32,64]
  298. NBVECS = [8,16,32]
  299. }
  300. Functions {
  301. Linear SVM:test_svm_linear_predict_f16
  302. Polynomial SVM:test_svm_polynomial_predict_f16
  303. RBF SVM:test_svm_rbf_predict_f16
  304. Sigmoid SVM:test_svm_sigmoid_predict_f16
  305. } -> PARAM1_ID
  306. }
  307. }
  308. group Barycenter {
  309. class = Barycenter
  310. suite Barycenter {
  311. class = SupportBarF16
  312. folder = SupportBarF16
  313. ParamList {
  314. NB,VECDIM
  315. Summary NB,VECDIM
  316. Names "Number of samples","Vector dimension"
  317. Formula "NB*VECDIM"
  318. }
  319. Pattern SAMPLES_F16_ID : Samples1_f16.txt
  320. Pattern COEFS_F16_ID : Coefs1_f16.txt
  321. Output OUT_SAMPLES_F16_ID : Output
  322. Params PARAM1_ID = {
  323. NB = [16,64,128]
  324. VECDIM = [5,10,15]
  325. }
  326. Functions {
  327. Barycenter:test_barycenter_f16
  328. } -> PARAM1_ID
  329. }
  330. }
  331. group Support Functions {
  332. class = Support
  333. folder = Support
  334. suite Support Functions F16 {
  335. class = SupportF16
  336. folder = SupportF16
  337. ParamList {
  338. NB
  339. Summary NB
  340. Names "Number of samples"
  341. Formula "NB"
  342. }
  343. Pattern SAMPLES_F32_ID : Samples1_f32.txt
  344. Pattern SAMPLES_F16_ID : Samples11_f16.txt
  345. Pattern SAMPLES_Q15_ID : Samples3_q15.txt
  346. Pattern INPUTS6_F16_ID : Inputs6_f16.txt
  347. Pattern WEIGHTS6_F16_ID : Weights6_f16.txt
  348. Pattern REF6_F16_ID : Ref6_f16.txt
  349. Output OUT_SAMPLES_F16_ID : Output
  350. Params PARAM1_ID = {
  351. NB = [64,128,256]
  352. }
  353. Functions {
  354. Vector Copy:test_copy_f16
  355. Vector Filling:test_fill_f16
  356. Elementwise q15 to f16:test_q15_to_f16
  357. Elementwise f32 to f16:test_f32_to_f16
  358. Weighted sum:test_weighted_sum_f16
  359. } -> PARAM1_ID
  360. }
  361. }
  362. group Matrix {
  363. class = Matrix
  364. folder = Matrix
  365. group Matrix Operators with one matrix size {
  366. class = Unary
  367. folder = Unary
  368. suite Unary Matrix Operators F16 {
  369. class = UnaryF16
  370. folder = UnaryF16
  371. ParamList {
  372. NBR,NBC
  373. Summary NBR,NBC
  374. Names "Number of rows","Number of columns"
  375. Formula "NBR*NBC"
  376. }
  377. Pattern INPUTA_F16_ID : InputA1_f16.txt
  378. Pattern INPUTAC_F16_ID : InputAC1_f16.txt
  379. Pattern INPUTVEC1_F16_ID : InputVec1_f16.txt
  380. Pattern DIMSCHOLESKY1_DPO_S16_ID : DimsCholeskyDPO1_s16.txt
  381. Pattern DIMSCHOLESKY1_SDPO_S16_ID : DimsCholeskySDPO1_s16.txt
  382. Pattern INPUTSCHOLESKY1_DPO_F16_ID : InputCholeskyDPO1_f16.txt
  383. Pattern INPUTSCHOLESKY1_SDPO_F16_ID : InputCholeskySDPO1_f16.txt
  384. Pattern REFCHOLESKY1_DPO_F16_ID : RefCholeskyDPO1_f16.txt
  385. Pattern REFLDLT_D_DPO1_F16_ID : RefLDLT_D_DPO1_f16.txt
  386. Pattern REFLDLT_LL_DPO1_F16_ID : RefLDLT_LL_DPO1_f16.txt
  387. Pattern REFLDLT_PERM_DPO1_F16_ID : RefLDLT_PERM_DPO1_s16.txt
  388. Pattern REFLDLT_D_SDPO1_F16_ID : RefLDLT_D_SDPO1_f16.txt
  389. Pattern REFLDLT_LL_SDPO1_F16_ID : RefLDLT_LL_SDPO1_f16.txt
  390. Pattern REFLDLT_PERM_SDPO1_F16_ID : RefLDLT_PERM_SDPO1_s16.txt
  391. Pattern INPUT_UT_DPO_F16_ID : InputUTDPO1_f16.txt
  392. Pattern INPUT_LT_DPO_F16_ID : InputLTDPO1_f16.txt
  393. Pattern INPUT_RNDA_DPO_F16_ID : InputRNDA1_f16.txt
  394. Pattern REF_UTINV_DPO_F16_ID : Ref_UTINV_DPO1_f16.txt
  395. Pattern REF_LTINV_DPO_F16_ID : Ref_LTINV_DPO1_f16.txt
  396. Pattern REF_CHOLINV_DPO_F16_ID : Ref_CHOLINV_DPO1_f16.txt
  397. Output TMPA_F16_ID : TempA
  398. Output TMPB_F16_ID : TempB
  399. Output OUT_F16_ID : Output
  400. Params PARAM1_ID = {
  401. NBR = [5,10,40]
  402. NBC = [5,10,40]
  403. }
  404. Params PARAM_CHOLESKY_ID : ParamsCholesky1.txt
  405. Functions {
  406. Matrix Scaling:test_mat_scale_f16
  407. Matrix Inversion:test_mat_inverse_f16
  408. Matrix Transpose:test_mat_trans_f16
  409. Matrix Addition:test_mat_add_f16
  410. Matrix Substraction:test_mat_sub_f16
  411. Matrix Vector Multiplication:test_mat_vec_mult_f16
  412. Matrix Complex Transpose:test_mat_cmplx_trans_f16
  413. Cholesky decomposition:test_mat_cholesky_dpo_f16 -> PARAM_CHOLESKY_ID
  414. Backward substitution:test_solve_upper_triangular_f16 -> PARAM_CHOLESKY_ID
  415. Foward substitution:test_solve_lower_triangular_f16 -> PARAM_CHOLESKY_ID
  416. } -> PARAM1_ID
  417. }
  418. }
  419. group Matrix Operators with two matrix sizes {
  420. class = Binary
  421. folder = Binary
  422. suite Binary Matrix Operators F16 {
  423. class = BinaryF16
  424. folder = BinaryF16
  425. ParamList {
  426. NBR,NBI,NBC
  427. Summary NBR,NBI,NBC
  428. Names "Number of rows","Inner dimensions","Number of columns"
  429. Formula "NBR*NBI*NBC"
  430. }
  431. Pattern INPUTA_F16_ID : InputA1_f16.txt
  432. Pattern INPUTB_F16_ID : InputB1_f16.txt
  433. Pattern INPUTAC_F16_ID : InputAC1_f16.txt
  434. Pattern INPUTBC_F16_ID : InputBC1_f16.txt
  435. Output OUT_F16_ID : Output
  436. Params PARAM1_ID = {
  437. NBR = [5,10,40]
  438. NBI = [5,10,40]
  439. NBC = [5,10,40]
  440. }
  441. Functions {
  442. Matrix Multiplication:test_mat_mult_f16
  443. Complex Matrix Multiplication:test_mat_cmplx_mult_f16
  444. } -> PARAM1_ID
  445. }
  446. }
  447. }
  448. group Spectral Transformations {
  449. class = Transform
  450. folder = Transform
  451. suite Spectral Transformations F16 {
  452. class = TransformF16
  453. folder = TransformF16
  454. ParamList {
  455. NB,IFFT,BITREV
  456. Summary NB
  457. Names "Number of samples,Inverse FFT, Bit Reversal"
  458. Formula "I(NB*log2(NB))"
  459. }
  460. Pattern INPUTR_F16_ID : RealInputSamples19_f16.txt
  461. Pattern INPUTC_F16_ID : ComplexInputSamples_Noisy_512_6_f16.txt
  462. Output OUT_F16_ID : Temp
  463. Output TMP_F16_ID : Output
  464. Output STATE_F16_ID : Output
  465. Params CFFT_PARAM_ID = {
  466. NB = [64,128,256]
  467. IFFT = [0,1]
  468. REV = [0,1]
  469. }
  470. Params CFFT4_PARAM_ID = {
  471. NB = [16,64,256]
  472. IFFT = [0,1]
  473. REV = [0,1]
  474. }
  475. Params RFFT_PARAM_ID = {
  476. NB = [64,128,256]
  477. IFFT = [0,1]
  478. REV = [1]
  479. }
  480. Functions {
  481. Complex FFT:test_cfft_f16 -> CFFT_PARAM_ID
  482. Real FFT:test_rfft_f16 -> RFFT_PARAM_ID
  483. Scalar Radix 4 Complex FFT:test_cfft_radix4_f16 -> CFFT4_PARAM_ID
  484. Scalar Radix 2 Complex FFT:test_cfft_radix2_f16 -> CFFT_PARAM_ID
  485. }
  486. }
  487. }
  488. }
  489. }