Commit 30ba39c9 authored by Davis King's avatar Davis King

Fixed cblas_dtrmm and cblas_strsm not using CBLAS_INT_TYPE.

parent 85a0dea3
......@@ -11,19 +11,23 @@ namespace dlib
{
#ifdef DLIB_USE_BLAS
#ifndef CBLAS_H
#ifndef CBLAS_INT_TYPE
#define CBLAS_INT_TYPE int
#endif
extern "C"
{
void cblas_strsm(const CBLAS_ORDER Order, const CBLAS_SIDE Side,
const CBLAS_UPLO Uplo, const CBLAS_TRANSPOSE TransA,
const CBLAS_DIAG Diag, const int M, const int N,
const float alpha, const float *A, const int lda,
float *B, const int ldb);
const CBLAS_DIAG Diag, const CBLAS_INT_TYPE M, const CBLAS_INT_TYPE N,
const float alpha, const float *A, const CBLAS_INT_TYPE lda,
float *B, const CBLAS_INT_TYPE ldb);
void cblas_dtrsm(const CBLAS_ORDER Order, const CBLAS_SIDE Side,
const CBLAS_UPLO Uplo, const CBLAS_TRANSPOSE TransA,
const CBLAS_DIAG Diag, const int M, const int N,
const double alpha, const double *A, const int lda,
double *B, const int ldb);
const CBLAS_DIAG Diag, const CBLAS_INT_TYPE M, const CBLAS_INT_TYPE N,
const double alpha, const double *A, const CBLAS_INT_TYPE lda,
double *B, const CBLAS_INT_TYPE ldb);
}
#endif // if not CBLAS_H
#endif // if DLIB_USE_BLAS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment