You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

common_s.h 15 kB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. #ifndef COMMON_S_H
  2. #define COMMON_S_H
  3. #ifndef DYNAMIC_ARCH
  4. #define SAMAX_K samax_k
  5. #define SAMIN_K samin_k
  6. #define SMAX_K smax_k
  7. #define SMIN_K smin_k
  8. #define ISAMAX_K isamax_k
  9. #define ISAMIN_K isamin_k
  10. #define ISMAX_K ismax_k
  11. #define ISMIN_K ismin_k
  12. #define SASUM_K sasum_k
  13. #define SSUM_K ssum_k
  14. #define SAXPYU_K saxpy_k
  15. #define SAXPYC_K saxpy_k
  16. #define SCOPY_K scopy_k
  17. #define SDOTU_K sdot_k
  18. #define SDOTC_K sdot_k
  19. #define SDSDOT_K dsdot_k
  20. #define DSDOT_K dsdot_k
  21. #define SNRM2_K snrm2_k
  22. #define SSCAL_K sscal_k
  23. #define SSWAP_K sswap_k
  24. #define SROT_K srot_k
  25. #define SGEMV_N sgemv_n
  26. #define SGEMV_T sgemv_t
  27. #define SGEMV_R sgemv_n
  28. #define SGEMV_C sgemv_t
  29. #define SGEMV_O sgemv_n
  30. #define SGEMV_U sgemv_t
  31. #define SGEMV_S sgemv_n
  32. #define SGEMV_D sgemv_t
  33. #define SGERU_K sger_k
  34. #define SGERC_K sger_k
  35. #define SGERV_K sger_k
  36. #define SGERD_K sger_k
  37. #define SSYMV_U ssymv_U
  38. #define SSYMV_L ssymv_L
  39. #define SSYMV_THREAD_U ssymv_thread_U
  40. #define SSYMV_THREAD_L ssymv_thread_L
  41. #define SGEMM_DIRECT_PERFORMANT sgemm_direct_performant
  42. #define SGEMM_DIRECT sgemm_direct
  43. #define SGEMM_ONCOPY sgemm_oncopy
  44. #define SGEMM_OTCOPY sgemm_otcopy
  45. #if SGEMM_DEFAULT_UNROLL_M == SGEMM_DEFAULT_UNROLL_N
  46. #define SGEMM_INCOPY sgemm_oncopy
  47. #define SGEMM_ITCOPY sgemm_otcopy
  48. #else
  49. #define SGEMM_INCOPY sgemm_incopy
  50. #define SGEMM_ITCOPY sgemm_itcopy
  51. #endif
  52. #define STRMM_OUNUCOPY strmm_ounucopy
  53. #define STRMM_OUNNCOPY strmm_ounncopy
  54. #define STRMM_OUTUCOPY strmm_outucopy
  55. #define STRMM_OUTNCOPY strmm_outncopy
  56. #define STRMM_OLNUCOPY strmm_olnucopy
  57. #define STRMM_OLNNCOPY strmm_olnncopy
  58. #define STRMM_OLTUCOPY strmm_oltucopy
  59. #define STRMM_OLTNCOPY strmm_oltncopy
  60. #define STRSM_OUNUCOPY strsm_ounucopy
  61. #define STRSM_OUNNCOPY strsm_ounncopy
  62. #define STRSM_OUTUCOPY strsm_outucopy
  63. #define STRSM_OUTNCOPY strsm_outncopy
  64. #define STRSM_OLNUCOPY strsm_olnucopy
  65. #define STRSM_OLNNCOPY strsm_olnncopy
  66. #define STRSM_OLTUCOPY strsm_oltucopy
  67. #define STRSM_OLTNCOPY strsm_oltncopy
  68. #if SGEMM_DEFAULT_UNROLL_M == SGEMM_DEFAULT_UNROLL_N
  69. #define STRMM_IUNUCOPY strmm_ounucopy
  70. #define STRMM_IUNNCOPY strmm_ounncopy
  71. #define STRMM_IUTUCOPY strmm_outucopy
  72. #define STRMM_IUTNCOPY strmm_outncopy
  73. #define STRMM_ILNUCOPY strmm_olnucopy
  74. #define STRMM_ILNNCOPY strmm_olnncopy
  75. #define STRMM_ILTUCOPY strmm_oltucopy
  76. #define STRMM_ILTNCOPY strmm_oltncopy
  77. #define STRSM_IUNUCOPY strsm_ounucopy
  78. #define STRSM_IUNNCOPY strsm_ounncopy
  79. #define STRSM_IUTUCOPY strsm_outucopy
  80. #define STRSM_IUTNCOPY strsm_outncopy
  81. #define STRSM_ILNUCOPY strsm_olnucopy
  82. #define STRSM_ILNNCOPY strsm_olnncopy
  83. #define STRSM_ILTUCOPY strsm_oltucopy
  84. #define STRSM_ILTNCOPY strsm_oltncopy
  85. #else
  86. #define STRMM_IUNUCOPY strmm_iunucopy
  87. #define STRMM_IUNNCOPY strmm_iunncopy
  88. #define STRMM_IUTUCOPY strmm_iutucopy
  89. #define STRMM_IUTNCOPY strmm_iutncopy
  90. #define STRMM_ILNUCOPY strmm_ilnucopy
  91. #define STRMM_ILNNCOPY strmm_ilnncopy
  92. #define STRMM_ILTUCOPY strmm_iltucopy
  93. #define STRMM_ILTNCOPY strmm_iltncopy
  94. #define STRSM_IUNUCOPY strsm_iunucopy
  95. #define STRSM_IUNNCOPY strsm_iunncopy
  96. #define STRSM_IUTUCOPY strsm_iutucopy
  97. #define STRSM_IUTNCOPY strsm_iutncopy
  98. #define STRSM_ILNUCOPY strsm_ilnucopy
  99. #define STRSM_ILNNCOPY strsm_ilnncopy
  100. #define STRSM_ILTUCOPY strsm_iltucopy
  101. #define STRSM_ILTNCOPY strsm_iltncopy
  102. #endif
  103. #define SGEMM_BETA sgemm_beta
  104. #define SGEMM_KERNEL sgemm_kernel
  105. #define STRMM_KERNEL_LN strmm_kernel_LN
  106. #define STRMM_KERNEL_LT strmm_kernel_LT
  107. #define STRMM_KERNEL_LR strmm_kernel_LN
  108. #define STRMM_KERNEL_LC strmm_kernel_LT
  109. #define STRMM_KERNEL_RN strmm_kernel_RN
  110. #define STRMM_KERNEL_RT strmm_kernel_RT
  111. #define STRMM_KERNEL_RR strmm_kernel_RN
  112. #define STRMM_KERNEL_RC strmm_kernel_RT
  113. #define STRSM_KERNEL_LN strsm_kernel_LN
  114. #define STRSM_KERNEL_LT strsm_kernel_LT
  115. #define STRSM_KERNEL_LR strsm_kernel_LN
  116. #define STRSM_KERNEL_LC strsm_kernel_LT
  117. #define STRSM_KERNEL_RN strsm_kernel_RN
  118. #define STRSM_KERNEL_RT strsm_kernel_RT
  119. #define STRSM_KERNEL_RR strsm_kernel_RN
  120. #define STRSM_KERNEL_RC strsm_kernel_RT
  121. #define SSYMM_OUTCOPY ssymm_outcopy
  122. #define SSYMM_OLTCOPY ssymm_oltcopy
  123. #if SGEMM_DEFAULT_UNROLL_M == SGEMM_DEFAULT_UNROLL_N
  124. #define SSYMM_IUTCOPY ssymm_outcopy
  125. #define SSYMM_ILTCOPY ssymm_oltcopy
  126. #else
  127. #define SSYMM_IUTCOPY ssymm_iutcopy
  128. #define SSYMM_ILTCOPY ssymm_iltcopy
  129. #endif
  130. #define SNEG_TCOPY sneg_tcopy
  131. #define SLASWP_NCOPY slaswp_ncopy
  132. #define SAXPBY_K saxpby_k
  133. #define SOMATCOPY_K_CN somatcopy_k_cn
  134. #define SOMATCOPY_K_RN somatcopy_k_rn
  135. #define SOMATCOPY_K_CT somatcopy_k_ct
  136. #define SOMATCOPY_K_RT somatcopy_k_rt
  137. #define SIMATCOPY_K_CN simatcopy_k_cn
  138. #define SIMATCOPY_K_RN simatcopy_k_rn
  139. #define SIMATCOPY_K_CT simatcopy_k_ct
  140. #define SIMATCOPY_K_RT simatcopy_k_rt
  141. #define SGEADD_K sgeadd_k
  142. #else
  143. #define SAMAX_K gotoblas -> samax_k
  144. #define SAMIN_K gotoblas -> samin_k
  145. #define SMAX_K gotoblas -> smax_k
  146. #define SMIN_K gotoblas -> smin_k
  147. #define ISAMAX_K gotoblas -> isamax_k
  148. #define ISAMIN_K gotoblas -> isamin_k
  149. #define ISMAX_K gotoblas -> ismax_k
  150. #define ISMIN_K gotoblas -> ismin_k
  151. #define SASUM_K gotoblas -> sasum_k
  152. #define SSUM_K gotoblas -> ssum_k
  153. #define SAXPYU_K gotoblas -> saxpy_k
  154. #define SAXPYC_K gotoblas -> saxpy_k
  155. #define SCOPY_K gotoblas -> scopy_k
  156. #define SDOTU_K gotoblas -> sdot_k
  157. #define SDOTC_K gotoblas -> sdot_k
  158. #define SDSDOT_K gotoblas -> dsdot_k
  159. #define DSDOT_K gotoblas -> dsdot_k
  160. #define SNRM2_K gotoblas -> snrm2_k
  161. #define SSCAL_K gotoblas -> sscal_k
  162. #define SSWAP_K gotoblas -> sswap_k
  163. #define SROT_K gotoblas -> srot_k
  164. #define SGEMV_N gotoblas -> sgemv_n
  165. #define SGEMV_T gotoblas -> sgemv_t
  166. #define SGEMV_R gotoblas -> sgemv_n
  167. #define SGEMV_C gotoblas -> sgemv_t
  168. #define SGEMV_O gotoblas -> sgemv_n
  169. #define SGEMV_U gotoblas -> sgemv_t
  170. #define SGEMV_S gotoblas -> sgemv_n
  171. #define SGEMV_D gotoblas -> sgemv_t
  172. #define SGERU_K gotoblas -> sger_k
  173. #define SGERC_K gotoblas -> sger_k
  174. #define SGERV_K gotoblas -> sger_k
  175. #define SGERD_K gotoblas -> sger_k
  176. #define SSYMV_U gotoblas -> ssymv_U
  177. #define SSYMV_L gotoblas -> ssymv_L
  178. #define SSYMV_THREAD_U ssymv_thread_U
  179. #define SSYMV_THREAD_L ssymv_thread_L
  180. #ifdef ARCH_X86_64
  181. #define SGEMM_DIRECT_PERFORMANT gotoblas -> sgemm_direct_performant
  182. #define SGEMM_DIRECT gotoblas -> sgemm_direct
  183. #else
  184. #define SGEMM_DIRECT_PERFORMANT sgemm_direct_performant
  185. #define SGEMM_DIRECT sgemm_direct
  186. #endif
  187. #define SGEMM_ONCOPY gotoblas -> sgemm_oncopy
  188. #define SGEMM_OTCOPY gotoblas -> sgemm_otcopy
  189. #define SGEMM_INCOPY gotoblas -> sgemm_incopy
  190. #define SGEMM_ITCOPY gotoblas -> sgemm_itcopy
  191. #define STRMM_OUNUCOPY gotoblas -> strmm_ounucopy
  192. #define STRMM_OUTUCOPY gotoblas -> strmm_outucopy
  193. #define STRMM_OLNUCOPY gotoblas -> strmm_olnucopy
  194. #define STRMM_OLTUCOPY gotoblas -> strmm_oltucopy
  195. #define STRSM_OUNUCOPY gotoblas -> strsm_ounucopy
  196. #define STRSM_OUTUCOPY gotoblas -> strsm_outucopy
  197. #define STRSM_OLNUCOPY gotoblas -> strsm_olnucopy
  198. #define STRSM_OLTUCOPY gotoblas -> strsm_oltucopy
  199. #define STRMM_IUNUCOPY gotoblas -> strmm_iunucopy
  200. #define STRMM_IUTUCOPY gotoblas -> strmm_iutucopy
  201. #define STRMM_ILNUCOPY gotoblas -> strmm_ilnucopy
  202. #define STRMM_ILTUCOPY gotoblas -> strmm_iltucopy
  203. #define STRSM_IUNUCOPY gotoblas -> strsm_iunucopy
  204. #define STRSM_IUTUCOPY gotoblas -> strsm_iutucopy
  205. #define STRSM_ILNUCOPY gotoblas -> strsm_ilnucopy
  206. #define STRSM_ILTUCOPY gotoblas -> strsm_iltucopy
  207. #define STRMM_OUNNCOPY gotoblas -> strmm_ounncopy
  208. #define STRMM_OUTNCOPY gotoblas -> strmm_outncopy
  209. #define STRMM_OLNNCOPY gotoblas -> strmm_olnncopy
  210. #define STRMM_OLTNCOPY gotoblas -> strmm_oltncopy
  211. #define STRSM_OUNNCOPY gotoblas -> strsm_ounncopy
  212. #define STRSM_OUTNCOPY gotoblas -> strsm_outncopy
  213. #define STRSM_OLNNCOPY gotoblas -> strsm_olnncopy
  214. #define STRSM_OLTNCOPY gotoblas -> strsm_oltncopy
  215. #define STRMM_IUNNCOPY gotoblas -> strmm_iunncopy
  216. #define STRMM_IUTNCOPY gotoblas -> strmm_iutncopy
  217. #define STRMM_ILNNCOPY gotoblas -> strmm_ilnncopy
  218. #define STRMM_ILTNCOPY gotoblas -> strmm_iltncopy
  219. #define STRSM_IUNNCOPY gotoblas -> strsm_iunncopy
  220. #define STRSM_IUTNCOPY gotoblas -> strsm_iutncopy
  221. #define STRSM_ILNNCOPY gotoblas -> strsm_ilnncopy
  222. #define STRSM_ILTNCOPY gotoblas -> strsm_iltncopy
  223. #define SGEMM_BETA gotoblas -> sgemm_beta
  224. #define SGEMM_KERNEL gotoblas -> sgemm_kernel
  225. #define STRMM_KERNEL_LN gotoblas -> strmm_kernel_LN
  226. #define STRMM_KERNEL_LT gotoblas -> strmm_kernel_LT
  227. #define STRMM_KERNEL_LR gotoblas -> strmm_kernel_LN
  228. #define STRMM_KERNEL_LC gotoblas -> strmm_kernel_LT
  229. #define STRMM_KERNEL_RN gotoblas -> strmm_kernel_RN
  230. #define STRMM_KERNEL_RT gotoblas -> strmm_kernel_RT
  231. #define STRMM_KERNEL_RR gotoblas -> strmm_kernel_RN
  232. #define STRMM_KERNEL_RC gotoblas -> strmm_kernel_RT
  233. #define STRSM_KERNEL_LN gotoblas -> strsm_kernel_LN
  234. #define STRSM_KERNEL_LT gotoblas -> strsm_kernel_LT
  235. #define STRSM_KERNEL_LR gotoblas -> strsm_kernel_LN
  236. #define STRSM_KERNEL_LC gotoblas -> strsm_kernel_LT
  237. #define STRSM_KERNEL_RN gotoblas -> strsm_kernel_RN
  238. #define STRSM_KERNEL_RT gotoblas -> strsm_kernel_RT
  239. #define STRSM_KERNEL_RR gotoblas -> strsm_kernel_RN
  240. #define STRSM_KERNEL_RC gotoblas -> strsm_kernel_RT
  241. #define SSYMM_IUTCOPY gotoblas -> ssymm_iutcopy
  242. #define SSYMM_ILTCOPY gotoblas -> ssymm_iltcopy
  243. #define SSYMM_OUTCOPY gotoblas -> ssymm_outcopy
  244. #define SSYMM_OLTCOPY gotoblas -> ssymm_oltcopy
  245. #define SNEG_TCOPY gotoblas -> sneg_tcopy
  246. #define SLASWP_NCOPY gotoblas -> slaswp_ncopy
  247. #define SAXPBY_K gotoblas -> saxpby_k
  248. #define SOMATCOPY_K_CN gotoblas -> somatcopy_k_cn
  249. #define SOMATCOPY_K_RN gotoblas -> somatcopy_k_rn
  250. #define SOMATCOPY_K_CT gotoblas -> somatcopy_k_ct
  251. #define SOMATCOPY_K_RT gotoblas -> somatcopy_k_rt
  252. #define SIMATCOPY_K_CN gotoblas -> simatcopy_k_cn
  253. #define SIMATCOPY_K_RN gotoblas -> simatcopy_k_rn
  254. #define SIMATCOPY_K_CT gotoblas -> simatcopy_k_ct
  255. #define SIMATCOPY_K_RT gotoblas -> simatcopy_k_rt
  256. #define SGEADD_K gotoblas -> sgeadd_k
  257. #endif
  258. #define SGEMM_NN sgemm_nn
  259. #define SGEMM_CN sgemm_tn
  260. #define SGEMM_TN sgemm_tn
  261. #define SGEMM_NC sgemm_nt
  262. #define SGEMM_NT sgemm_nt
  263. #define SGEMM_CC sgemm_tt
  264. #define SGEMM_CT sgemm_tt
  265. #define SGEMM_TC sgemm_tt
  266. #define SGEMM_TT sgemm_tt
  267. #define SGEMM_NR sgemm_nn
  268. #define SGEMM_TR sgemm_tn
  269. #define SGEMM_CR sgemm_tn
  270. #define SGEMM_RN sgemm_nn
  271. #define SGEMM_RT sgemm_nt
  272. #define SGEMM_RC sgemm_nt
  273. #define SGEMM_RR sgemm_nn
  274. #define SSYMM_LU ssymm_LU
  275. #define SSYMM_LL ssymm_LL
  276. #define SSYMM_RU ssymm_RU
  277. #define SSYMM_RL ssymm_RL
  278. #define SHEMM_LU shemm_LU
  279. #define SHEMM_LL shemm_LL
  280. #define SHEMM_RU shemm_RU
  281. #define SHEMM_RL shemm_RL
  282. #define SSYRK_UN ssyrk_UN
  283. #define SSYRK_UT ssyrk_UT
  284. #define SSYRK_LN ssyrk_LN
  285. #define SSYRK_LT ssyrk_LT
  286. #define SSYRK_UR ssyrk_UN
  287. #define SSYRK_UC ssyrk_UT
  288. #define SSYRK_LR ssyrk_LN
  289. #define SSYRK_LC ssyrk_LT
  290. #define SSYRK_KERNEL_U ssyrk_kernel_U
  291. #define SSYRK_KERNEL_L ssyrk_kernel_L
  292. #define SHERK_UN ssyrk_UN
  293. #define SHERK_LN ssyrk_LN
  294. #define SHERK_UC ssyrk_UT
  295. #define SHERK_LC ssyrk_LT
  296. #define SHER2K_UN ssyr2k_UN
  297. #define SHER2K_LN ssyr2k_LN
  298. #define SHER2K_UC ssyr2k_UT
  299. #define SHER2K_LC ssyr2k_LT
  300. #define SSYR2K_UN ssyr2k_UN
  301. #define SSYR2K_UT ssyr2k_UT
  302. #define SSYR2K_LN ssyr2k_LN
  303. #define SSYR2K_LT ssyr2k_LT
  304. #define SSYR2K_UR ssyr2k_UN
  305. #define SSYR2K_UC ssyr2k_UT
  306. #define SSYR2K_LR ssyr2k_LN
  307. #define SSYR2K_LC ssyr2k_LT
  308. #define SSYR2K_KERNEL_U ssyr2k_kernel_U
  309. #define SSYR2K_KERNEL_L ssyr2k_kernel_L
  310. #define STRMM_LNUU strmm_LNUU
  311. #define STRMM_LNUN strmm_LNUN
  312. #define STRMM_LNLU strmm_LNLU
  313. #define STRMM_LNLN strmm_LNLN
  314. #define STRMM_LTUU strmm_LTUU
  315. #define STRMM_LTUN strmm_LTUN
  316. #define STRMM_LTLU strmm_LTLU
  317. #define STRMM_LTLN strmm_LTLN
  318. #define STRMM_LRUU strmm_LNUU
  319. #define STRMM_LRUN strmm_LNUN
  320. #define STRMM_LRLU strmm_LNLU
  321. #define STRMM_LRLN strmm_LNLN
  322. #define STRMM_LCUU strmm_LTUU
  323. #define STRMM_LCUN strmm_LTUN
  324. #define STRMM_LCLU strmm_LTLU
  325. #define STRMM_LCLN strmm_LTLN
  326. #define STRMM_RNUU strmm_RNUU
  327. #define STRMM_RNUN strmm_RNUN
  328. #define STRMM_RNLU strmm_RNLU
  329. #define STRMM_RNLN strmm_RNLN
  330. #define STRMM_RTUU strmm_RTUU
  331. #define STRMM_RTUN strmm_RTUN
  332. #define STRMM_RTLU strmm_RTLU
  333. #define STRMM_RTLN strmm_RTLN
  334. #define STRMM_RRUU strmm_RNUU
  335. #define STRMM_RRUN strmm_RNUN
  336. #define STRMM_RRLU strmm_RNLU
  337. #define STRMM_RRLN strmm_RNLN
  338. #define STRMM_RCUU strmm_RTUU
  339. #define STRMM_RCUN strmm_RTUN
  340. #define STRMM_RCLU strmm_RTLU
  341. #define STRMM_RCLN strmm_RTLN
  342. #define STRSM_LNUU strsm_LNUU
  343. #define STRSM_LNUN strsm_LNUN
  344. #define STRSM_LNLU strsm_LNLU
  345. #define STRSM_LNLN strsm_LNLN
  346. #define STRSM_LTUU strsm_LTUU
  347. #define STRSM_LTUN strsm_LTUN
  348. #define STRSM_LTLU strsm_LTLU
  349. #define STRSM_LTLN strsm_LTLN
  350. #define STRSM_LRUU strsm_LNUU
  351. #define STRSM_LRUN strsm_LNUN
  352. #define STRSM_LRLU strsm_LNLU
  353. #define STRSM_LRLN strsm_LNLN
  354. #define STRSM_LCUU strsm_LTUU
  355. #define STRSM_LCUN strsm_LTUN
  356. #define STRSM_LCLU strsm_LTLU
  357. #define STRSM_LCLN strsm_LTLN
  358. #define STRSM_RNUU strsm_RNUU
  359. #define STRSM_RNUN strsm_RNUN
  360. #define STRSM_RNLU strsm_RNLU
  361. #define STRSM_RNLN strsm_RNLN
  362. #define STRSM_RTUU strsm_RTUU
  363. #define STRSM_RTUN strsm_RTUN
  364. #define STRSM_RTLU strsm_RTLU
  365. #define STRSM_RTLN strsm_RTLN
  366. #define STRSM_RRUU strsm_RNUU
  367. #define STRSM_RRUN strsm_RNUN
  368. #define STRSM_RRLU strsm_RNLU
  369. #define STRSM_RRLN strsm_RNLN
  370. #define STRSM_RCUU strsm_RTUU
  371. #define STRSM_RCUN strsm_RTUN
  372. #define STRSM_RCLU strsm_RTLU
  373. #define STRSM_RCLN strsm_RTLN
  374. #define SGEMM_THREAD_NN sgemm_thread_nn
  375. #define SGEMM_THREAD_CN sgemm_thread_tn
  376. #define SGEMM_THREAD_TN sgemm_thread_tn
  377. #define SGEMM_THREAD_NC sgemm_thread_nt
  378. #define SGEMM_THREAD_NT sgemm_thread_nt
  379. #define SGEMM_THREAD_CC sgemm_thread_tt
  380. #define SGEMM_THREAD_CT sgemm_thread_tt
  381. #define SGEMM_THREAD_TC sgemm_thread_tt
  382. #define SGEMM_THREAD_TT sgemm_thread_tt
  383. #define SGEMM_THREAD_NR sgemm_thread_nn
  384. #define SGEMM_THREAD_TR sgemm_thread_tn
  385. #define SGEMM_THREAD_CR sgemm_thread_tn
  386. #define SGEMM_THREAD_RN sgemm_thread_nn
  387. #define SGEMM_THREAD_RT sgemm_thread_nt
  388. #define SGEMM_THREAD_RC sgemm_thread_nt
  389. #define SGEMM_THREAD_RR sgemm_thread_nn
  390. #define SSYMM_THREAD_LU ssymm_thread_LU
  391. #define SSYMM_THREAD_LL ssymm_thread_LL
  392. #define SSYMM_THREAD_RU ssymm_thread_RU
  393. #define SSYMM_THREAD_RL ssymm_thread_RL
  394. #define SHEMM_THREAD_LU shemm_thread_LU
  395. #define SHEMM_THREAD_LL shemm_thread_LL
  396. #define SHEMM_THREAD_RU shemm_thread_RU
  397. #define SHEMM_THREAD_RL shemm_thread_RL
  398. #define SSYRK_THREAD_UN ssyrk_thread_UN
  399. #define SSYRK_THREAD_UT ssyrk_thread_UT
  400. #define SSYRK_THREAD_LN ssyrk_thread_LN
  401. #define SSYRK_THREAD_LT ssyrk_thread_LT
  402. #define SSYRK_THREAD_UR ssyrk_thread_UN
  403. #define SSYRK_THREAD_UC ssyrk_thread_UT
  404. #define SSYRK_THREAD_LR ssyrk_thread_LN
  405. #define SSYRK_THREAD_LC ssyrk_thread_LT
  406. #define SHERK_THREAD_UN ssyrk_thread_UN
  407. #define SHERK_THREAD_UT ssyrk_thread_UT
  408. #define SHERK_THREAD_LN ssyrk_thread_LN
  409. #define SHERK_THREAD_LT ssyrk_thread_LT
  410. #define SHERK_THREAD_UR ssyrk_thread_UN
  411. #define SHERK_THREAD_UC ssyrk_thread_UT
  412. #define SHERK_THREAD_LR ssyrk_thread_LN
  413. #define SHERK_THREAD_LC ssyrk_thread_LT
  414. #endif