PLASMA  2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
core_blas.h
Go to the documentation of this file.
1 
15 #ifndef _PLASMA_CORE_BLAS_H_
16 #define _PLASMA_CORE_BLAS_H_
17 
18 #include <cblas.h>
19 #include "quark.h"
20 
21 #include "core_zblas.h"
22 #include "core_dblas.h"
23 #include "core_cblas.h"
24 #include "core_sblas.h"
25 #include "core_zcblas.h"
26 #include "core_dsblas.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32  /*
33  * Coreblas Error
34  */
35 #define coreblas_error(k, str) fprintf(stderr, "%s: Parameter %d / %s\n", __func__, k, str)
36 
37  /*
38  * CBlas enum
39  */
40 #define CBLAS_TRANSPOSE enum CBLAS_TRANSPOSE
41 #define CBLAS_UPLO enum CBLAS_UPLO
42 #define CBLAS_DIAG enum CBLAS_DIAG
43 #define CBLAS_SIDE enum CBLAS_SIDE
44 
48 extern char *plasma_lapack_constants[];
49 #define lapack_const(plasma_const) plasma_lapack_constants[plasma_const][0]
50 
51  /*
52  * Functions which don't depend on precision
53  */
54 void CORE_free_quark(Quark *quark);
55 void CORE_foo_quark(Quark *quark);
56 void CORE_foo2_quark(Quark *quark);
57 
58 void QUARK_CORE_free(Quark *quark, Quark_Task_Flags *task_flags,
59  void *A, int szeA);
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif