hpl_pfact.h 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. /*
  2. * -- High Performance Computing Linpack Benchmark (HPL)
  3. * HPL - 2.0 - September 10, 2008
  4. * Antoine P. Petitet
  5. * University of Tennessee, Knoxville
  6. * Innovative Computing Laboratory
  7. * (C) Copyright 2000-2008 All Rights Reserved
  8. *
  9. * -- Copyright notice and Licensing terms:
  10. *
  11. * Redistribution and use in source and binary forms, with or without
  12. * modification, are permitted provided that the following conditions
  13. * are met:
  14. *
  15. * 1. Redistributions of source code must retain the above copyright
  16. * notice, this list of conditions and the following disclaimer.
  17. *
  18. * 2. Redistributions in binary form must reproduce the above copyright
  19. * notice, this list of conditions, and the following disclaimer in the
  20. * documentation and/or other materials provided with the distribution.
  21. *
  22. * 3. All advertising materials mentioning features or use of this
  23. * software must display the following acknowledgement:
  24. * This product includes software developed at the University of
  25. * Tennessee, Knoxville, Innovative Computing Laboratory.
  26. *
  27. * 4. The name of the University, the name of the Laboratory, or the
  28. * names of its contributors may not be used to endorse or promote
  29. * products derived from this software without specific written
  30. * permission.
  31. *
  32. * -- Disclaimer:
  33. *
  34. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  35. * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  36. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  37. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY
  38. * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  39. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  40. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  41. * DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  42. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  43. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  44. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  45. */
  46. #ifndef HPL_PFACT_H
  47. #define HPL_PFACT_H
  48. /*
  49. * ---------------------------------------------------------------------
  50. * Include files
  51. * ---------------------------------------------------------------------
  52. */
  53. #include "hpl_misc.h"
  54. #include "hpl_blas.h"
  55. #include "hpl_gesv.h"
  56. #include "hpl_pmisc.h"
  57. #include "hpl_pauxil.h"
  58. #include "hpl_panel.h"
  59. /*
  60. * ---------------------------------------------------------------------
  61. * #typedefs and data structures
  62. * ---------------------------------------------------------------------
  63. */
  64. typedef void (*HPL_T_PFA_FUN)
  65. ( HPL_T_panel *, const int, const int, const int,
  66. double * );
  67. typedef void (*HPL_T_RFA_FUN)
  68. ( HPL_T_panel *, const int, const int, const int,
  69. double * );
  70. typedef void (*HPL_T_UPD_FUN)
  71. ( HPL_T_panel *, int *, HPL_T_panel *, const int );
  72. /*
  73. * ---------------------------------------------------------------------
  74. * Function prototypes
  75. * ---------------------------------------------------------------------
  76. */
  77. void HPL_dlocmax
  78. STDC_ARGS( (
  79. HPL_T_panel *,
  80. const int,
  81. const int,
  82. const int,
  83. double *
  84. ) );
  85. void HPL_dlocswpN
  86. STDC_ARGS( (
  87. HPL_T_panel *,
  88. const int,
  89. const int,
  90. double *
  91. ) );
  92. void HPL_dlocswpT
  93. STDC_ARGS( (
  94. HPL_T_panel *,
  95. const int,
  96. const int,
  97. double *
  98. ) );
  99. void HPL_pdmxswp
  100. STDC_ARGS( (
  101. HPL_T_panel *,
  102. const int,
  103. const int,
  104. const int,
  105. double *
  106. ) );
  107. void HPL_pdpancrN
  108. STDC_ARGS( (
  109. HPL_T_panel *,
  110. const int,
  111. const int,
  112. const int,
  113. double *
  114. ) );
  115. void HPL_pdpancrT
  116. STDC_ARGS( (
  117. HPL_T_panel *,
  118. const int,
  119. const int,
  120. const int,
  121. double *
  122. ) );
  123. void HPL_pdpanllN
  124. STDC_ARGS( (
  125. HPL_T_panel *,
  126. const int,
  127. const int,
  128. const int,
  129. double *
  130. ) );
  131. void HPL_pdpanllT
  132. STDC_ARGS( (
  133. HPL_T_panel *,
  134. const int,
  135. const int,
  136. const int,
  137. double *
  138. ) );
  139. void HPL_pdpanrlN
  140. STDC_ARGS( (
  141. HPL_T_panel *,
  142. const int,
  143. const int,
  144. const int,
  145. double *
  146. ) );
  147. void HPL_pdpanrlT
  148. STDC_ARGS( (
  149. HPL_T_panel *,
  150. const int,
  151. const int,
  152. const int,
  153. double *
  154. ) );
  155. void HPL_pdrpancrN
  156. STDC_ARGS( (
  157. HPL_T_panel *,
  158. const int,
  159. const int,
  160. const int,
  161. double *
  162. ) );
  163. void HPL_pdrpancrT
  164. STDC_ARGS( (
  165. HPL_T_panel *,
  166. const int,
  167. const int,
  168. const int,
  169. double *
  170. ) );
  171. void HPL_pdrpanllN
  172. STDC_ARGS( (
  173. HPL_T_panel *,
  174. const int,
  175. const int,
  176. const int,
  177. double *
  178. ) );
  179. void HPL_pdrpanllT
  180. STDC_ARGS( (
  181. HPL_T_panel *,
  182. const int,
  183. const int,
  184. const int,
  185. double *
  186. ) );
  187. void HPL_pdrpanrlN
  188. STDC_ARGS( (
  189. HPL_T_panel *,
  190. const int,
  191. const int,
  192. const int,
  193. double *
  194. ) );
  195. void HPL_pdrpanrlT
  196. STDC_ARGS( (
  197. HPL_T_panel *,
  198. const int,
  199. const int,
  200. const int,
  201. double *
  202. ) );
  203. void HPL_pdfact
  204. STDC_ARGS( (
  205. HPL_T_panel *
  206. ) );
  207. #endif
  208. /*
  209. * End of hpl_pfact.h
  210. */