Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0bce5ca7 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

cblas: Try to protect when multiple cblas may be included

parent 3cb7d7a2
No related branches found
No related tags found
1 merge request!468Many minor hotfix issued from the mixed precision branch
...@@ -28,15 +28,28 @@ ...@@ -28,15 +28,28 @@
#ifndef CBLAS_SADDR #ifndef CBLAS_SADDR
#define CBLAS_SADDR( _val_ ) &(_val_) #define CBLAS_SADDR( _val_ ) &(_val_)
#endif #endif
#ifndef CBLAS_H /* cblas may have been included by another mean */
#include "coreblas/cblas.h" #include "coreblas/cblas.h"
#endif
/** /**
* CBlas enum * CBlas enum
*/ */
#ifndef CBLAS_ORDER
#define CBLAS_ORDER enum CBLAS_ORDER #define CBLAS_ORDER enum CBLAS_ORDER
#endif
#ifndef CBLAS_TRANSPOSE
#define CBLAS_TRANSPOSE enum CBLAS_TRANSPOSE #define CBLAS_TRANSPOSE enum CBLAS_TRANSPOSE
#endif
#ifndef CBLAS_UPLO
#define CBLAS_UPLO enum CBLAS_UPLO #define CBLAS_UPLO enum CBLAS_UPLO
#endif
#ifndef CBLAS_DIAG
#define CBLAS_DIAG enum CBLAS_DIAG #define CBLAS_DIAG enum CBLAS_DIAG
#endif
#ifndef CBLAS_SIDE
#define CBLAS_SIDE enum CBLAS_SIDE #define CBLAS_SIDE enum CBLAS_SIDE
#endif
#endif /* _cblas_wrapper_h_ */ #endif /* _cblas_wrapper_h_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment