9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 11:33:29 +01:00

Removed dependency to cblas.h

This commit is contained in:
Anthony Scemama 2021-04-23 23:55:32 +02:00
parent 53fdb98c25
commit 28a501ba17

View File

@ -22,7 +22,15 @@ struct bin_tree {
int NBF; int NBF;
}; };
#include <cblas.h> typedef enum {CblasRowMajor=101, CblasColMajor=102} CBLAS_LAYOUT;
typedef enum {CblasNoTrans=111, CblasTrans=112, CblasConjTrans=113} CBLAS_TRANSPOSE;
typedef CBLAS_LAYOUT CBLAS_ORDER;
void cblas_dgemm(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE TransA,
CBLAS_TRANSPOSE TransB, const int M, const int N,
const int K, const double alpha, const double *A,
const int lda, const double *B, const int ldb,
const double beta, double *C, const int ldc);
#define MAX_SOMO 32 #define MAX_SOMO 32