Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fdbb7641 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Remove the dependency to the internal chameleon_error function, replace by fprintf(stderr,...)

parent 320882d7
No related branches found
No related tags found
No related merge requests found
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
#ifndef _lapack_api_common_h_ #ifndef _lapack_api_common_h_
#define _lapack_api_common_h_ #define _lapack_api_common_h_
#include <stdio.h>
#include <chameleon.h> #include <chameleon.h>
#include <chameleon/mangling.h> #include <chameleon/mangling.h>
#include <control/auxiliary.h>
#include <coreblas/cblas_wrapper.h> #include <coreblas/cblas_wrapper.h>
/** /**
......
...@@ -33,7 +33,7 @@ int chameleon_blastocblas_trans(const char* trans) ...@@ -33,7 +33,7 @@ int chameleon_blastocblas_trans(const char* trans)
} else if ( (*trans == 'C') || (*trans == 'c') ) { } else if ( (*trans == 'C') || (*trans == 'c') ) {
return CblasConjTrans; return CblasConjTrans;
} else { } else {
chameleon_error("chameleon_blastocblas_trans", "illegal value of BLAS transpose parameter"); fprintf(stderr, "CHAMELEON ERROR: %s(): %s\n", "chameleon_blastocblas_trans", "illegal value of BLAS transpose parameter");
return CHAMELEON_ERR_ILLEGAL_VALUE; return CHAMELEON_ERR_ILLEGAL_VALUE;
} }
} }
...@@ -125,7 +125,7 @@ void CHAMELEON_cblas_zgemm( const CBLAS_ORDER Order, const CBLAS_TRANSPOSE Trans ...@@ -125,7 +125,7 @@ void CHAMELEON_cblas_zgemm( const CBLAS_ORDER Order, const CBLAS_TRANSPOSE Trans
const void *beta, CHAMELEON_Complex64_t *C, const int ldc ) const void *beta, CHAMELEON_Complex64_t *C, const int ldc )
{ {
if (Order != CblasColMajor){ if (Order != CblasColMajor){
chameleon_error("CHAMELEON_cblas_zgemm", "illegal value of order"); fprintf(stderr, "CHAMELEON ERROR: %s(): %s\n", "CHAMELEON_cblas_zgemm", "illegal value of order");
} }
#if defined(PRECISION_z) || defined(PRECISION_c) #if defined(PRECISION_z) || defined(PRECISION_c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment