Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
30ba39c9
Commit
30ba39c9
authored
Jun 15, 2018
by
Davis King
Browse files
Fixed cblas_dtrmm and cblas_strsm not using CBLAS_INT_TYPE.
parent
85a0dea3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
dlib/matrix/matrix_trsm.h
dlib/matrix/matrix_trsm.h
+10
-6
No files found.
dlib/matrix/matrix_trsm.h
View file @
30ba39c9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment