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_c.h 22 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. #ifndef COMMON_C_H
  2. #define COMMON_C_H
  3. #ifndef DYNAMIC_ARCH
  4. #define CAMAX_K camax_k
  5. #define CAMIN_K camin_k
  6. #define CMAX_K cmax_k
  7. #define CMIN_K cmin_k
  8. #define ICAMAX_K icamax_k
  9. #define ICAMIN_K icamin_k
  10. #define ICMAX_K icmax_k
  11. #define ICMIN_K icmin_k
  12. #define CASUM_K casum_k
  13. #define CAXPYU_K caxpy_k
  14. #define CAXPYC_K caxpyc_k
  15. #define CCOPY_K ccopy_k
  16. #define CDOTU_K cdotu_k
  17. #define CDOTC_K cdotc_k
  18. #define CNRM2_K cnrm2_k
  19. #define CSCAL_K cscal_k
  20. #define CSWAP_K cswap_k
  21. #define CROT_K csrot_k
  22. #define CGEMV_N cgemv_n
  23. #define CGEMV_T cgemv_t
  24. #define CGEMV_R cgemv_r
  25. #define CGEMV_C cgemv_c
  26. #define CGEMV_O cgemv_o
  27. #define CGEMV_U cgemv_u
  28. #define CGEMV_S cgemv_s
  29. #define CGEMV_D cgemv_d
  30. #define CGERU_K cgeru_k
  31. #define CGERC_K cgerc_k
  32. #define CGERV_K cgerv_k
  33. #define CGERD_K cgerd_k
  34. #define CSYMV_U csymv_U
  35. #define CSYMV_L csymv_L
  36. #define CHEMV_U chemv_U
  37. #define CHEMV_L chemv_L
  38. #define CHEMV_V chemv_V
  39. #define CHEMV_M chemv_M
  40. #define CSYMV_THREAD_U csymv_thread_U
  41. #define CSYMV_THREAD_L csymv_thread_L
  42. #define CHEMV_THREAD_U chemv_thread_U
  43. #define CHEMV_THREAD_L chemv_thread_L
  44. #define CHEMV_THREAD_V chemv_thread_V
  45. #define CHEMV_THREAD_M chemv_thread_M
  46. #define CGEMM_ONCOPY cgemm_oncopy
  47. #define CGEMM_OTCOPY cgemm_otcopy
  48. #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
  49. #define CGEMM_INCOPY cgemm_oncopy
  50. #define CGEMM_ITCOPY cgemm_otcopy
  51. #else
  52. #define CGEMM_INCOPY cgemm_incopy
  53. #define CGEMM_ITCOPY cgemm_itcopy
  54. #endif
  55. #define CTRMM_OUNUCOPY ctrmm_ounucopy
  56. #define CTRMM_OUNNCOPY ctrmm_ounncopy
  57. #define CTRMM_OUTUCOPY ctrmm_outucopy
  58. #define CTRMM_OUTNCOPY ctrmm_outncopy
  59. #define CTRMM_OLNUCOPY ctrmm_olnucopy
  60. #define CTRMM_OLNNCOPY ctrmm_olnncopy
  61. #define CTRMM_OLTUCOPY ctrmm_oltucopy
  62. #define CTRMM_OLTNCOPY ctrmm_oltncopy
  63. #define CTRSM_OUNUCOPY ctrsm_ounucopy
  64. #define CTRSM_OUNNCOPY ctrsm_ounncopy
  65. #define CTRSM_OUTUCOPY ctrsm_outucopy
  66. #define CTRSM_OUTNCOPY ctrsm_outncopy
  67. #define CTRSM_OLNUCOPY ctrsm_olnucopy
  68. #define CTRSM_OLNNCOPY ctrsm_olnncopy
  69. #define CTRSM_OLTUCOPY ctrsm_oltucopy
  70. #define CTRSM_OLTNCOPY ctrsm_oltncopy
  71. #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
  72. #define CTRMM_IUNUCOPY ctrmm_ounucopy
  73. #define CTRMM_IUNNCOPY ctrmm_ounncopy
  74. #define CTRMM_IUTUCOPY ctrmm_outucopy
  75. #define CTRMM_IUTNCOPY ctrmm_outncopy
  76. #define CTRMM_ILNUCOPY ctrmm_olnucopy
  77. #define CTRMM_ILNNCOPY ctrmm_olnncopy
  78. #define CTRMM_ILTUCOPY ctrmm_oltucopy
  79. #define CTRMM_ILTNCOPY ctrmm_oltncopy
  80. #define CTRSM_IUNUCOPY ctrsm_ounucopy
  81. #define CTRSM_IUNNCOPY ctrsm_ounncopy
  82. #define CTRSM_IUTUCOPY ctrsm_outucopy
  83. #define CTRSM_IUTNCOPY ctrsm_outncopy
  84. #define CTRSM_ILNUCOPY ctrsm_olnucopy
  85. #define CTRSM_ILNNCOPY ctrsm_olnncopy
  86. #define CTRSM_ILTUCOPY ctrsm_oltucopy
  87. #define CTRSM_ILTNCOPY ctrsm_oltncopy
  88. #else
  89. #define CTRMM_IUNUCOPY ctrmm_iunucopy
  90. #define CTRMM_IUNNCOPY ctrmm_iunncopy
  91. #define CTRMM_IUTUCOPY ctrmm_iutucopy
  92. #define CTRMM_IUTNCOPY ctrmm_iutncopy
  93. #define CTRMM_ILNUCOPY ctrmm_ilnucopy
  94. #define CTRMM_ILNNCOPY ctrmm_ilnncopy
  95. #define CTRMM_ILTUCOPY ctrmm_iltucopy
  96. #define CTRMM_ILTNCOPY ctrmm_iltncopy
  97. #define CTRSM_IUNUCOPY ctrsm_iunucopy
  98. #define CTRSM_IUNNCOPY ctrsm_iunncopy
  99. #define CTRSM_IUTUCOPY ctrsm_iutucopy
  100. #define CTRSM_IUTNCOPY ctrsm_iutncopy
  101. #define CTRSM_ILNUCOPY ctrsm_ilnucopy
  102. #define CTRSM_ILNNCOPY ctrsm_ilnncopy
  103. #define CTRSM_ILTUCOPY ctrsm_iltucopy
  104. #define CTRSM_ILTNCOPY ctrsm_iltncopy
  105. #endif
  106. #define CGEMM_BETA cgemm_beta
  107. #define CGEMM_KERNEL_N cgemm_kernel_n
  108. #define CGEMM_KERNEL_L cgemm_kernel_l
  109. #define CGEMM_KERNEL_R cgemm_kernel_r
  110. #define CGEMM_KERNEL_B cgemm_kernel_b
  111. #define CTRMM_KERNEL_LN ctrmm_kernel_LN
  112. #define CTRMM_KERNEL_LT ctrmm_kernel_LT
  113. #define CTRMM_KERNEL_LR ctrmm_kernel_LR
  114. #define CTRMM_KERNEL_LC ctrmm_kernel_LC
  115. #define CTRMM_KERNEL_RN ctrmm_kernel_RN
  116. #define CTRMM_KERNEL_RT ctrmm_kernel_RT
  117. #define CTRMM_KERNEL_RR ctrmm_kernel_RR
  118. #define CTRMM_KERNEL_RC ctrmm_kernel_RC
  119. #define CTRSM_KERNEL_LN ctrsm_kernel_LN
  120. #define CTRSM_KERNEL_LT ctrsm_kernel_LT
  121. #define CTRSM_KERNEL_LR ctrsm_kernel_LR
  122. #define CTRSM_KERNEL_LC ctrsm_kernel_LC
  123. #define CTRSM_KERNEL_RN ctrsm_kernel_RN
  124. #define CTRSM_KERNEL_RT ctrsm_kernel_RT
  125. #define CTRSM_KERNEL_RR ctrsm_kernel_RR
  126. #define CTRSM_KERNEL_RC ctrsm_kernel_RC
  127. #define CSYMM_OUTCOPY csymm_outcopy
  128. #define CSYMM_OLTCOPY csymm_oltcopy
  129. #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
  130. #define CSYMM_IUTCOPY csymm_outcopy
  131. #define CSYMM_ILTCOPY csymm_oltcopy
  132. #else
  133. #define CSYMM_IUTCOPY csymm_iutcopy
  134. #define CSYMM_ILTCOPY csymm_iltcopy
  135. #endif
  136. #define CHEMM_OUTCOPY chemm_outcopy
  137. #define CHEMM_OLTCOPY chemm_oltcopy
  138. #if CGEMM_DEFAULT_UNROLL_M == CGEMM_DEFAULT_UNROLL_N
  139. #define CHEMM_IUTCOPY chemm_outcopy
  140. #define CHEMM_ILTCOPY chemm_oltcopy
  141. #else
  142. #define CHEMM_IUTCOPY chemm_iutcopy
  143. #define CHEMM_ILTCOPY chemm_iltcopy
  144. #endif
  145. #define CGEMM3M_ONCOPYB cgemm3m_oncopyb
  146. #define CGEMM3M_ONCOPYR cgemm3m_oncopyr
  147. #define CGEMM3M_ONCOPYI cgemm3m_oncopyi
  148. #define CGEMM3M_OTCOPYB cgemm3m_otcopyb
  149. #define CGEMM3M_OTCOPYR cgemm3m_otcopyr
  150. #define CGEMM3M_OTCOPYI cgemm3m_otcopyi
  151. #define CGEMM3M_INCOPYB cgemm3m_incopyb
  152. #define CGEMM3M_INCOPYR cgemm3m_incopyr
  153. #define CGEMM3M_INCOPYI cgemm3m_incopyi
  154. #define CGEMM3M_ITCOPYB cgemm3m_itcopyb
  155. #define CGEMM3M_ITCOPYR cgemm3m_itcopyr
  156. #define CGEMM3M_ITCOPYI cgemm3m_itcopyi
  157. #define CSYMM3M_ILCOPYB csymm3m_ilcopyb
  158. #define CSYMM3M_IUCOPYB csymm3m_iucopyb
  159. #define CSYMM3M_ILCOPYR csymm3m_ilcopyr
  160. #define CSYMM3M_IUCOPYR csymm3m_iucopyr
  161. #define CSYMM3M_ILCOPYI csymm3m_ilcopyi
  162. #define CSYMM3M_IUCOPYI csymm3m_iucopyi
  163. #define CSYMM3M_OLCOPYB csymm3m_olcopyb
  164. #define CSYMM3M_OUCOPYB csymm3m_oucopyb
  165. #define CSYMM3M_OLCOPYR csymm3m_olcopyr
  166. #define CSYMM3M_OUCOPYR csymm3m_oucopyr
  167. #define CSYMM3M_OLCOPYI csymm3m_olcopyi
  168. #define CSYMM3M_OUCOPYI csymm3m_oucopyi
  169. #define CHEMM3M_ILCOPYB chemm3m_ilcopyb
  170. #define CHEMM3M_IUCOPYB chemm3m_iucopyb
  171. #define CHEMM3M_ILCOPYR chemm3m_ilcopyr
  172. #define CHEMM3M_IUCOPYR chemm3m_iucopyr
  173. #define CHEMM3M_ILCOPYI chemm3m_ilcopyi
  174. #define CHEMM3M_IUCOPYI chemm3m_iucopyi
  175. #define CHEMM3M_OLCOPYB chemm3m_olcopyb
  176. #define CHEMM3M_OUCOPYB chemm3m_oucopyb
  177. #define CHEMM3M_OLCOPYR chemm3m_olcopyr
  178. #define CHEMM3M_OUCOPYR chemm3m_oucopyr
  179. #define CHEMM3M_OLCOPYI chemm3m_olcopyi
  180. #define CHEMM3M_OUCOPYI chemm3m_oucopyi
  181. #define CGEMM3M_KERNEL cgemm3m_kernel
  182. #define CNEG_TCOPY cneg_tcopy
  183. #define CLASWP_NCOPY claswp_ncopy
  184. #define CAXPBY_K caxpby_k
  185. #define COMATCOPY_K_CN comatcopy_k_cn
  186. #define COMATCOPY_K_RN comatcopy_k_rn
  187. #define COMATCOPY_K_CT comatcopy_k_ct
  188. #define COMATCOPY_K_RT comatcopy_k_rt
  189. #define COMATCOPY_K_CNC comatcopy_k_cnc
  190. #define COMATCOPY_K_RNC comatcopy_k_rnc
  191. #define COMATCOPY_K_CTC comatcopy_k_ctc
  192. #define COMATCOPY_K_RTC comatcopy_k_rtc
  193. #define CIMATCOPY_K_CN cimatcopy_k_cn
  194. #define CIMATCOPY_K_RN cimatcopy_k_rn
  195. #define CIMATCOPY_K_CT cimatcopy_k_ct
  196. #define CIMATCOPY_K_RT cimatcopy_k_rt
  197. #define CIMATCOPY_K_CNC cimatcopy_k_cnc
  198. #define CIMATCOPY_K_RNC cimatcopy_k_rnc
  199. #define CIMATCOPY_K_CTC cimatcopy_k_ctc
  200. #define CIMATCOPY_K_RTC cimatcopy_k_rtc
  201. #define CGEADD_K cgeadd_k
  202. #else
  203. #define CAMAX_K gotoblas -> camax_k
  204. #define CAMIN_K gotoblas -> camin_k
  205. #define CMAX_K gotoblas -> cmax_k
  206. #define CMIN_K gotoblas -> cmin_k
  207. #define ICAMAX_K gotoblas -> icamax_k
  208. #define ICAMIN_K gotoblas -> icamin_k
  209. #define ICMAX_K gotoblas -> icmax_k
  210. #define ICMIN_K gotoblas -> icmin_k
  211. #define CASUM_K gotoblas -> casum_k
  212. #define CAXPYU_K gotoblas -> caxpy_k
  213. #define CAXPYC_K gotoblas -> caxpyc_k
  214. #define CCOPY_K gotoblas -> ccopy_k
  215. #define CDOTU_K gotoblas -> cdotu_k
  216. #define CDOTC_K gotoblas -> cdotc_k
  217. #define CNRM2_K gotoblas -> cnrm2_k
  218. #define CSCAL_K gotoblas -> cscal_k
  219. #define CSWAP_K gotoblas -> cswap_k
  220. #define CROT_K gotoblas -> csrot_k
  221. #define CGEMV_N gotoblas -> cgemv_n
  222. #define CGEMV_T gotoblas -> cgemv_t
  223. #define CGEMV_R gotoblas -> cgemv_r
  224. #define CGEMV_C gotoblas -> cgemv_c
  225. #define CGEMV_O gotoblas -> cgemv_o
  226. #define CGEMV_U gotoblas -> cgemv_u
  227. #define CGEMV_S gotoblas -> cgemv_s
  228. #define CGEMV_D gotoblas -> cgemv_d
  229. #define CGERU_K gotoblas -> cgeru_k
  230. #define CGERC_K gotoblas -> cgerc_k
  231. #define CGERV_K gotoblas -> cgerv_k
  232. #define CGERD_K gotoblas -> cgerd_k
  233. #define CSYMV_U gotoblas -> csymv_U
  234. #define CSYMV_L gotoblas -> csymv_L
  235. #define CHEMV_U gotoblas -> chemv_U
  236. #define CHEMV_L gotoblas -> chemv_L
  237. #define CHEMV_V gotoblas -> chemv_V
  238. #define CHEMV_M gotoblas -> chemv_M
  239. #define CSYMV_THREAD_U csymv_thread_U
  240. #define CSYMV_THREAD_L csymv_thread_L
  241. #define CHEMV_THREAD_U chemv_thread_U
  242. #define CHEMV_THREAD_L chemv_thread_L
  243. #define CHEMV_THREAD_V chemv_thread_V
  244. #define CHEMV_THREAD_M chemv_thread_M
  245. #define CGEMM_ONCOPY gotoblas -> cgemm_oncopy
  246. #define CGEMM_OTCOPY gotoblas -> cgemm_otcopy
  247. #define CGEMM_INCOPY gotoblas -> cgemm_incopy
  248. #define CGEMM_ITCOPY gotoblas -> cgemm_itcopy
  249. #define CTRMM_OUNUCOPY gotoblas -> ctrmm_ounucopy
  250. #define CTRMM_OUTUCOPY gotoblas -> ctrmm_outucopy
  251. #define CTRMM_OLNUCOPY gotoblas -> ctrmm_olnucopy
  252. #define CTRMM_OLTUCOPY gotoblas -> ctrmm_oltucopy
  253. #define CTRSM_OUNUCOPY gotoblas -> ctrsm_ounucopy
  254. #define CTRSM_OUTUCOPY gotoblas -> ctrsm_outucopy
  255. #define CTRSM_OLNUCOPY gotoblas -> ctrsm_olnucopy
  256. #define CTRSM_OLTUCOPY gotoblas -> ctrsm_oltucopy
  257. #define CTRMM_IUNUCOPY gotoblas -> ctrmm_iunucopy
  258. #define CTRMM_IUTUCOPY gotoblas -> ctrmm_iutucopy
  259. #define CTRMM_ILNUCOPY gotoblas -> ctrmm_ilnucopy
  260. #define CTRMM_ILTUCOPY gotoblas -> ctrmm_iltucopy
  261. #define CTRSM_IUNUCOPY gotoblas -> ctrsm_iunucopy
  262. #define CTRSM_IUTUCOPY gotoblas -> ctrsm_iutucopy
  263. #define CTRSM_ILNUCOPY gotoblas -> ctrsm_ilnucopy
  264. #define CTRSM_ILTUCOPY gotoblas -> ctrsm_iltucopy
  265. #define CTRMM_OUNNCOPY gotoblas -> ctrmm_ounncopy
  266. #define CTRMM_OUTNCOPY gotoblas -> ctrmm_outncopy
  267. #define CTRMM_OLNNCOPY gotoblas -> ctrmm_olnncopy
  268. #define CTRMM_OLTNCOPY gotoblas -> ctrmm_oltncopy
  269. #define CTRSM_OUNNCOPY gotoblas -> ctrsm_ounncopy
  270. #define CTRSM_OUTNCOPY gotoblas -> ctrsm_outncopy
  271. #define CTRSM_OLNNCOPY gotoblas -> ctrsm_olnncopy
  272. #define CTRSM_OLTNCOPY gotoblas -> ctrsm_oltncopy
  273. #define CTRMM_IUNNCOPY gotoblas -> ctrmm_iunncopy
  274. #define CTRMM_IUTNCOPY gotoblas -> ctrmm_iutncopy
  275. #define CTRMM_ILNNCOPY gotoblas -> ctrmm_ilnncopy
  276. #define CTRMM_ILTNCOPY gotoblas -> ctrmm_iltncopy
  277. #define CTRSM_IUNNCOPY gotoblas -> ctrsm_iunncopy
  278. #define CTRSM_IUTNCOPY gotoblas -> ctrsm_iutncopy
  279. #define CTRSM_ILNNCOPY gotoblas -> ctrsm_ilnncopy
  280. #define CTRSM_ILTNCOPY gotoblas -> ctrsm_iltncopy
  281. #define CGEMM_BETA gotoblas -> cgemm_beta
  282. #define CGEMM_KERNEL_N gotoblas -> cgemm_kernel_n
  283. #define CGEMM_KERNEL_L gotoblas -> cgemm_kernel_l
  284. #define CGEMM_KERNEL_R gotoblas -> cgemm_kernel_r
  285. #define CGEMM_KERNEL_B gotoblas -> cgemm_kernel_b
  286. #define CTRMM_KERNEL_LN gotoblas -> ctrmm_kernel_LN
  287. #define CTRMM_KERNEL_LT gotoblas -> ctrmm_kernel_LT
  288. #define CTRMM_KERNEL_LR gotoblas -> ctrmm_kernel_LR
  289. #define CTRMM_KERNEL_LC gotoblas -> ctrmm_kernel_LC
  290. #define CTRMM_KERNEL_RN gotoblas -> ctrmm_kernel_RN
  291. #define CTRMM_KERNEL_RT gotoblas -> ctrmm_kernel_RT
  292. #define CTRMM_KERNEL_RR gotoblas -> ctrmm_kernel_RR
  293. #define CTRMM_KERNEL_RC gotoblas -> ctrmm_kernel_RC
  294. #define CTRSM_KERNEL_LN gotoblas -> ctrsm_kernel_LN
  295. #define CTRSM_KERNEL_LT gotoblas -> ctrsm_kernel_LT
  296. #define CTRSM_KERNEL_LR gotoblas -> ctrsm_kernel_LR
  297. #define CTRSM_KERNEL_LC gotoblas -> ctrsm_kernel_LC
  298. #define CTRSM_KERNEL_RN gotoblas -> ctrsm_kernel_RN
  299. #define CTRSM_KERNEL_RT gotoblas -> ctrsm_kernel_RT
  300. #define CTRSM_KERNEL_RR gotoblas -> ctrsm_kernel_RR
  301. #define CTRSM_KERNEL_RC gotoblas -> ctrsm_kernel_RC
  302. #define CSYMM_IUTCOPY gotoblas -> csymm_iutcopy
  303. #define CSYMM_ILTCOPY gotoblas -> csymm_iltcopy
  304. #define CSYMM_OUTCOPY gotoblas -> csymm_outcopy
  305. #define CSYMM_OLTCOPY gotoblas -> csymm_oltcopy
  306. #define CHEMM_OUTCOPY gotoblas -> chemm_outcopy
  307. #define CHEMM_OLTCOPY gotoblas -> chemm_oltcopy
  308. #define CHEMM_IUTCOPY gotoblas -> chemm_iutcopy
  309. #define CHEMM_ILTCOPY gotoblas -> chemm_iltcopy
  310. #define CGEMM3M_ONCOPYB gotoblas -> cgemm3m_oncopyb
  311. #define CGEMM3M_ONCOPYR gotoblas -> cgemm3m_oncopyr
  312. #define CGEMM3M_ONCOPYI gotoblas -> cgemm3m_oncopyi
  313. #define CGEMM3M_OTCOPYB gotoblas -> cgemm3m_otcopyb
  314. #define CGEMM3M_OTCOPYR gotoblas -> cgemm3m_otcopyr
  315. #define CGEMM3M_OTCOPYI gotoblas -> cgemm3m_otcopyi
  316. #define CGEMM3M_INCOPYB gotoblas -> cgemm3m_incopyb
  317. #define CGEMM3M_INCOPYR gotoblas -> cgemm3m_incopyr
  318. #define CGEMM3M_INCOPYI gotoblas -> cgemm3m_incopyi
  319. #define CGEMM3M_ITCOPYB gotoblas -> cgemm3m_itcopyb
  320. #define CGEMM3M_ITCOPYR gotoblas -> cgemm3m_itcopyr
  321. #define CGEMM3M_ITCOPYI gotoblas -> cgemm3m_itcopyi
  322. #define CSYMM3M_ILCOPYB gotoblas -> csymm3m_ilcopyb
  323. #define CSYMM3M_IUCOPYB gotoblas -> csymm3m_iucopyb
  324. #define CSYMM3M_ILCOPYR gotoblas -> csymm3m_ilcopyr
  325. #define CSYMM3M_IUCOPYR gotoblas -> csymm3m_iucopyr
  326. #define CSYMM3M_ILCOPYI gotoblas -> csymm3m_ilcopyi
  327. #define CSYMM3M_IUCOPYI gotoblas -> csymm3m_iucopyi
  328. #define CSYMM3M_OLCOPYB gotoblas -> csymm3m_olcopyb
  329. #define CSYMM3M_OUCOPYB gotoblas -> csymm3m_oucopyb
  330. #define CSYMM3M_OLCOPYR gotoblas -> csymm3m_olcopyr
  331. #define CSYMM3M_OUCOPYR gotoblas -> csymm3m_oucopyr
  332. #define CSYMM3M_OLCOPYI gotoblas -> csymm3m_olcopyi
  333. #define CSYMM3M_OUCOPYI gotoblas -> csymm3m_oucopyi
  334. #define CHEMM3M_ILCOPYB gotoblas -> chemm3m_ilcopyb
  335. #define CHEMM3M_IUCOPYB gotoblas -> chemm3m_iucopyb
  336. #define CHEMM3M_ILCOPYR gotoblas -> chemm3m_ilcopyr
  337. #define CHEMM3M_IUCOPYR gotoblas -> chemm3m_iucopyr
  338. #define CHEMM3M_ILCOPYI gotoblas -> chemm3m_ilcopyi
  339. #define CHEMM3M_IUCOPYI gotoblas -> chemm3m_iucopyi
  340. #define CHEMM3M_OLCOPYB gotoblas -> chemm3m_olcopyb
  341. #define CHEMM3M_OUCOPYB gotoblas -> chemm3m_oucopyb
  342. #define CHEMM3M_OLCOPYR gotoblas -> chemm3m_olcopyr
  343. #define CHEMM3M_OUCOPYR gotoblas -> chemm3m_oucopyr
  344. #define CHEMM3M_OLCOPYI gotoblas -> chemm3m_olcopyi
  345. #define CHEMM3M_OUCOPYI gotoblas -> chemm3m_oucopyi
  346. #define CGEMM3M_KERNEL gotoblas -> cgemm3m_kernel
  347. #define CNEG_TCOPY gotoblas -> cneg_tcopy
  348. #define CLASWP_NCOPY gotoblas -> claswp_ncopy
  349. #define CAXPBY_K gotoblas -> caxpby_k
  350. #define COMATCOPY_K_CN gotoblas -> comatcopy_k_cn
  351. #define COMATCOPY_K_RN gotoblas -> comatcopy_k_rn
  352. #define COMATCOPY_K_CT gotoblas -> comatcopy_k_ct
  353. #define COMATCOPY_K_RT gotoblas -> comatcopy_k_rt
  354. #define COMATCOPY_K_CNC gotoblas -> comatcopy_k_cnc
  355. #define COMATCOPY_K_RNC gotoblas -> comatcopy_k_rnc
  356. #define COMATCOPY_K_CTC gotoblas -> comatcopy_k_ctc
  357. #define COMATCOPY_K_RTC gotoblas -> comatcopy_k_rtc
  358. #define CIMATCOPY_K_CN gotoblas -> cimatcopy_k_cn
  359. #define CIMATCOPY_K_RN gotoblas -> cimatcopy_k_rn
  360. #define CIMATCOPY_K_CT gotoblas -> cimatcopy_k_ct
  361. #define CIMATCOPY_K_RT gotoblas -> cimatcopy_k_rt
  362. #define CIMATCOPY_K_CNC gotoblas -> cimatcopy_k_cnc
  363. #define CIMATCOPY_K_RNC gotoblas -> cimatcopy_k_rnc
  364. #define CIMATCOPY_K_CTC gotoblas -> cimatcopy_k_ctc
  365. #define CIMATCOPY_K_RTC gotoblas -> cimatcopy_k_rtc
  366. #define CGEADD_K gotoblas -> cgeadd_k
  367. #endif
  368. #define CGEMM_NN cgemm_nn
  369. #define CGEMM_CN cgemm_cn
  370. #define CGEMM_TN cgemm_tn
  371. #define CGEMM_NC cgemm_nc
  372. #define CGEMM_NT cgemm_nt
  373. #define CGEMM_CC cgemm_cc
  374. #define CGEMM_CT cgemm_ct
  375. #define CGEMM_TC cgemm_tc
  376. #define CGEMM_TT cgemm_tt
  377. #define CGEMM_NR cgemm_nr
  378. #define CGEMM_TR cgemm_tr
  379. #define CGEMM_CR cgemm_cr
  380. #define CGEMM_RN cgemm_rn
  381. #define CGEMM_RT cgemm_rt
  382. #define CGEMM_RC cgemm_rc
  383. #define CGEMM_RR cgemm_rr
  384. #define CSYMM_LU csymm_LU
  385. #define CSYMM_LL csymm_LL
  386. #define CSYMM_RU csymm_RU
  387. #define CSYMM_RL csymm_RL
  388. #define CHEMM_LU chemm_LU
  389. #define CHEMM_LL chemm_LL
  390. #define CHEMM_RU chemm_RU
  391. #define CHEMM_RL chemm_RL
  392. #define CSYRK_UN csyrk_UN
  393. #define CSYRK_UT csyrk_UT
  394. #define CSYRK_LN csyrk_LN
  395. #define CSYRK_LT csyrk_LT
  396. #define CSYRK_UR csyrk_UN
  397. #define CSYRK_UC csyrk_UT
  398. #define CSYRK_LR csyrk_LN
  399. #define CSYRK_LC csyrk_LT
  400. #define CSYRK_KERNEL_U csyrk_kernel_U
  401. #define CSYRK_KERNEL_L csyrk_kernel_L
  402. #define CHERK_UN cherk_UN
  403. #define CHERK_LN cherk_LN
  404. #define CHERK_UC cherk_UC
  405. #define CHERK_LC cherk_LC
  406. #define CHER2K_UN cher2k_UN
  407. #define CHER2K_LN cher2k_LN
  408. #define CHER2K_UC cher2k_UC
  409. #define CHER2K_LC cher2k_LC
  410. #define CSYR2K_UN csyr2k_UN
  411. #define CSYR2K_UT csyr2k_UT
  412. #define CSYR2K_LN csyr2k_LN
  413. #define CSYR2K_LT csyr2k_LT
  414. #define CSYR2K_UR csyr2k_UN
  415. #define CSYR2K_UC csyr2k_UT
  416. #define CSYR2K_LR csyr2k_LN
  417. #define CSYR2K_LC csyr2k_LT
  418. #define CSYR2K_KERNEL_U csyr2k_kernel_U
  419. #define CSYR2K_KERNEL_L csyr2k_kernel_L
  420. #define CTRMM_LNUU ctrmm_LNUU
  421. #define CTRMM_LNUN ctrmm_LNUN
  422. #define CTRMM_LNLU ctrmm_LNLU
  423. #define CTRMM_LNLN ctrmm_LNLN
  424. #define CTRMM_LTUU ctrmm_LTUU
  425. #define CTRMM_LTUN ctrmm_LTUN
  426. #define CTRMM_LTLU ctrmm_LTLU
  427. #define CTRMM_LTLN ctrmm_LTLN
  428. #define CTRMM_LRUU ctrmm_LRUU
  429. #define CTRMM_LRUN ctrmm_LRUN
  430. #define CTRMM_LRLU ctrmm_LRLU
  431. #define CTRMM_LRLN ctrmm_LRLN
  432. #define CTRMM_LCUU ctrmm_LCUU
  433. #define CTRMM_LCUN ctrmm_LCUN
  434. #define CTRMM_LCLU ctrmm_LCLU
  435. #define CTRMM_LCLN ctrmm_LCLN
  436. #define CTRMM_RNUU ctrmm_RNUU
  437. #define CTRMM_RNUN ctrmm_RNUN
  438. #define CTRMM_RNLU ctrmm_RNLU
  439. #define CTRMM_RNLN ctrmm_RNLN
  440. #define CTRMM_RTUU ctrmm_RTUU
  441. #define CTRMM_RTUN ctrmm_RTUN
  442. #define CTRMM_RTLU ctrmm_RTLU
  443. #define CTRMM_RTLN ctrmm_RTLN
  444. #define CTRMM_RRUU ctrmm_RRUU
  445. #define CTRMM_RRUN ctrmm_RRUN
  446. #define CTRMM_RRLU ctrmm_RRLU
  447. #define CTRMM_RRLN ctrmm_RRLN
  448. #define CTRMM_RCUU ctrmm_RCUU
  449. #define CTRMM_RCUN ctrmm_RCUN
  450. #define CTRMM_RCLU ctrmm_RCLU
  451. #define CTRMM_RCLN ctrmm_RCLN
  452. #define CTRSM_LNUU ctrsm_LNUU
  453. #define CTRSM_LNUN ctrsm_LNUN
  454. #define CTRSM_LNLU ctrsm_LNLU
  455. #define CTRSM_LNLN ctrsm_LNLN
  456. #define CTRSM_LTUU ctrsm_LTUU
  457. #define CTRSM_LTUN ctrsm_LTUN
  458. #define CTRSM_LTLU ctrsm_LTLU
  459. #define CTRSM_LTLN ctrsm_LTLN
  460. #define CTRSM_LRUU ctrsm_LRUU
  461. #define CTRSM_LRUN ctrsm_LRUN
  462. #define CTRSM_LRLU ctrsm_LRLU
  463. #define CTRSM_LRLN ctrsm_LRLN
  464. #define CTRSM_LCUU ctrsm_LCUU
  465. #define CTRSM_LCUN ctrsm_LCUN
  466. #define CTRSM_LCLU ctrsm_LCLU
  467. #define CTRSM_LCLN ctrsm_LCLN
  468. #define CTRSM_RNUU ctrsm_RNUU
  469. #define CTRSM_RNUN ctrsm_RNUN
  470. #define CTRSM_RNLU ctrsm_RNLU
  471. #define CTRSM_RNLN ctrsm_RNLN
  472. #define CTRSM_RTUU ctrsm_RTUU
  473. #define CTRSM_RTUN ctrsm_RTUN
  474. #define CTRSM_RTLU ctrsm_RTLU
  475. #define CTRSM_RTLN ctrsm_RTLN
  476. #define CTRSM_RRUU ctrsm_RRUU
  477. #define CTRSM_RRUN ctrsm_RRUN
  478. #define CTRSM_RRLU ctrsm_RRLU
  479. #define CTRSM_RRLN ctrsm_RRLN
  480. #define CTRSM_RCUU ctrsm_RCUU
  481. #define CTRSM_RCUN ctrsm_RCUN
  482. #define CTRSM_RCLU ctrsm_RCLU
  483. #define CTRSM_RCLN ctrsm_RCLN
  484. #define CGEMM_THREAD_NN cgemm_thread_nn
  485. #define CGEMM_THREAD_CN cgemm_thread_cn
  486. #define CGEMM_THREAD_TN cgemm_thread_tn
  487. #define CGEMM_THREAD_NC cgemm_thread_nc
  488. #define CGEMM_THREAD_NT cgemm_thread_nt
  489. #define CGEMM_THREAD_CC cgemm_thread_cc
  490. #define CGEMM_THREAD_CT cgemm_thread_ct
  491. #define CGEMM_THREAD_TC cgemm_thread_tc
  492. #define CGEMM_THREAD_TT cgemm_thread_tt
  493. #define CGEMM_THREAD_NR cgemm_thread_nr
  494. #define CGEMM_THREAD_TR cgemm_thread_tr
  495. #define CGEMM_THREAD_CR cgemm_thread_cr
  496. #define CGEMM_THREAD_RN cgemm_thread_rn
  497. #define CGEMM_THREAD_RT cgemm_thread_rt
  498. #define CGEMM_THREAD_RC cgemm_thread_rc
  499. #define CGEMM_THREAD_RR cgemm_thread_rr
  500. #define CSYMM_THREAD_LU csymm_thread_LU
  501. #define CSYMM_THREAD_LL csymm_thread_LL
  502. #define CSYMM_THREAD_RU csymm_thread_RU
  503. #define CSYMM_THREAD_RL csymm_thread_RL
  504. #define CHEMM_THREAD_LU chemm_thread_LU
  505. #define CHEMM_THREAD_LL chemm_thread_LL
  506. #define CHEMM_THREAD_RU chemm_thread_RU
  507. #define CHEMM_THREAD_RL chemm_thread_RL
  508. #define CSYRK_THREAD_UN csyrk_thread_UN
  509. #define CSYRK_THREAD_UT csyrk_thread_UT
  510. #define CSYRK_THREAD_LN csyrk_thread_LN
  511. #define CSYRK_THREAD_LT csyrk_thread_LT
  512. #define CSYRK_THREAD_UR csyrk_thread_UN
  513. #define CSYRK_THREAD_UC csyrk_thread_UT
  514. #define CSYRK_THREAD_LR csyrk_thread_LN
  515. #define CSYRK_THREAD_LC csyrk_thread_LT
  516. #define CHERK_THREAD_UN cherk_thread_UN
  517. #define CHERK_THREAD_UT cherk_thread_UT
  518. #define CHERK_THREAD_LN cherk_thread_LN
  519. #define CHERK_THREAD_LT cherk_thread_LT
  520. #define CHERK_THREAD_UR cherk_thread_UR
  521. #define CHERK_THREAD_UC cherk_thread_UC
  522. #define CHERK_THREAD_LR cherk_thread_LR
  523. #define CHERK_THREAD_LC cherk_thread_LC
  524. #define CGEMM3M_NN cgemm3m_nn
  525. #define CGEMM3M_CN cgemm3m_cn
  526. #define CGEMM3M_TN cgemm3m_tn
  527. #define CGEMM3M_NC cgemm3m_nc
  528. #define CGEMM3M_NT cgemm3m_nt
  529. #define CGEMM3M_CC cgemm3m_cc
  530. #define CGEMM3M_CT cgemm3m_ct
  531. #define CGEMM3M_TC cgemm3m_tc
  532. #define CGEMM3M_TT cgemm3m_tt
  533. #define CGEMM3M_NR cgemm3m_nr
  534. #define CGEMM3M_TR cgemm3m_tr
  535. #define CGEMM3M_CR cgemm3m_cr
  536. #define CGEMM3M_RN cgemm3m_rn
  537. #define CGEMM3M_RT cgemm3m_rt
  538. #define CGEMM3M_RC cgemm3m_rc
  539. #define CGEMM3M_RR cgemm3m_rr
  540. #define CGEMM3M_THREAD_NN cgemm3m_thread_nn
  541. #define CGEMM3M_THREAD_CN cgemm3m_thread_cn
  542. #define CGEMM3M_THREAD_TN cgemm3m_thread_tn
  543. #define CGEMM3M_THREAD_NC cgemm3m_thread_nc
  544. #define CGEMM3M_THREAD_NT cgemm3m_thread_nt
  545. #define CGEMM3M_THREAD_CC cgemm3m_thread_cc
  546. #define CGEMM3M_THREAD_CT cgemm3m_thread_ct
  547. #define CGEMM3M_THREAD_TC cgemm3m_thread_tc
  548. #define CGEMM3M_THREAD_TT cgemm3m_thread_tt
  549. #define CGEMM3M_THREAD_NR cgemm3m_thread_nr
  550. #define CGEMM3M_THREAD_TR cgemm3m_thread_tr
  551. #define CGEMM3M_THREAD_CR cgemm3m_thread_cr
  552. #define CGEMM3M_THREAD_RN cgemm3m_thread_rn
  553. #define CGEMM3M_THREAD_RT cgemm3m_thread_rt
  554. #define CGEMM3M_THREAD_RC cgemm3m_thread_rc
  555. #define CGEMM3M_THREAD_RR cgemm3m_thread_rr
  556. #define CSYMM3M_LU csymm3m_LU
  557. #define CSYMM3M_LL csymm3m_LL
  558. #define CSYMM3M_RU csymm3m_RU
  559. #define CSYMM3M_RL csymm3m_RL
  560. #define CSYMM3M_THREAD_LU csymm3m_thread_LU
  561. #define CSYMM3M_THREAD_LL csymm3m_thread_LL
  562. #define CSYMM3M_THREAD_RU csymm3m_thread_RU
  563. #define CSYMM3M_THREAD_RL csymm3m_thread_RL
  564. #define CHEMM3M_LU chemm3m_LU
  565. #define CHEMM3M_LL chemm3m_LL
  566. #define CHEMM3M_RU chemm3m_RU
  567. #define CHEMM3M_RL chemm3m_RL
  568. #define CHEMM3M_THREAD_LU chemm3m_thread_LU
  569. #define CHEMM3M_THREAD_LL chemm3m_thread_LL
  570. #define CHEMM3M_THREAD_RU chemm3m_thread_RU
  571. #define CHEMM3M_THREAD_RL chemm3m_thread_RL
  572. #endif