Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
9e781781
Commit
9e781781
authored
May 03, 2017
by
Jim61C
Committed by
Davis E. King
May 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove enum in function signature to avoid cblas declaration conflicts (#571)
parent
09b4dc82
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
36 deletions
+36
-36
matrix_blas_bindings.h
dlib/matrix/matrix_blas_bindings.h
+0
-0
matrix_trsm.h
dlib/matrix/matrix_trsm.h
+36
-36
No files found.
dlib/matrix/matrix_blas_bindings.h
View file @
9e781781
This diff is collapsed.
Click to expand it.
dlib/matrix/matrix_trsm.h
View file @
9e781781
...
...
@@ -13,15 +13,15 @@ namespace dlib
#ifndef CBLAS_H
extern
"C"
{
void
cblas_strsm
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
M
,
const
int
N
,
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
);
void
cblas_dtrsm
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
M
,
const
int
N
,
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
);
}
...
...
@@ -150,11 +150,11 @@ namespace dlib
template
<
typename
T
>
void
local_trsm
(
const
enum
CBLAS_ORDER
Order
,
enum
CBLAS_SIDE
Side
,
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
CBLAS_ORDER
Order
,
CBLAS_SIDE
Side
,
CBLAS_UPLO
Uplo
,
const
CBLAS_TRANSPOSE
TransA
,
const
CBLAS_DIAG
Diag
,
long
m
,
long
n
,
T
alpha
,
...
...
@@ -515,9 +515,9 @@ namespace dlib
// ------------------------------------------------------------------------------------
inline
void
cblas_trsm
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
M
,
const
int
N
,
inline
void
cblas_trsm
(
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
)
{
...
...
@@ -531,9 +531,9 @@ namespace dlib
local_trsm
(
Order
,
Side
,
Uplo
,
TransA
,
Diag
,
M
,
N
,
alpha
,
A
,
lda
,
B
,
ldb
);
}
inline
void
cblas_trsm
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
M
,
const
int
N
,
inline
void
cblas_trsm
(
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
)
{
...
...
@@ -547,9 +547,9 @@ namespace dlib
local_trsm
(
Order
,
Side
,
Uplo
,
TransA
,
Diag
,
M
,
N
,
alpha
,
A
,
lda
,
B
,
ldb
);
}
inline
void
cblas_trsm
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
M
,
const
int
N
,
inline
void
cblas_trsm
(
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
long
double
alpha
,
const
long
double
*
A
,
const
int
lda
,
long
double
*
B
,
const
int
ldb
)
{
...
...
@@ -565,10 +565,10 @@ namespace dlib
typename
MM
>
inline
void
triangular_solver
(
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
CBLAS_SIDE
Side
,
const
CBLAS_UPLO
Uplo
,
const
CBLAS_TRANSPOSE
TransA
,
const
CBLAS_DIAG
Diag
,
const
matrix
<
T
,
NR1
,
NC1
,
MM
,
row_major_layout
>&
A
,
const
T
alpha
,
matrix
<
T
,
NR2
,
NC2
,
MM
,
row_major_layout
>&
B
...
...
@@ -587,10 +587,10 @@ namespace dlib
typename
MM
>
inline
void
triangular_solver
(
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
CBLAS_SIDE
Side
,
const
CBLAS_UPLO
Uplo
,
const
CBLAS_TRANSPOSE
TransA
,
const
CBLAS_DIAG
Diag
,
const
matrix
<
T
,
NR1
,
NC1
,
MM
,
column_major_layout
>&
A
,
const
T
alpha
,
matrix
<
T
,
NR2
,
NC2
,
MM
,
column_major_layout
>&
B
...
...
@@ -609,10 +609,10 @@ namespace dlib
typename
MM
>
inline
void
triangular_solver
(
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
CBLAS_SIDE
Side
,
const
CBLAS_UPLO
Uplo
,
const
CBLAS_TRANSPOSE
TransA
,
const
CBLAS_DIAG
Diag
,
const
matrix
<
T
,
NR1
,
NC1
,
MM
,
column_major_layout
>&
A
,
matrix
<
T
,
NR2
,
NC2
,
MM
,
column_major_layout
>&
B
,
long
rows_of_B
...
...
@@ -633,10 +633,10 @@ namespace dlib
typename
layout
>
inline
void
triangular_solver
(
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
CBLAS_SIDE
Side
,
const
CBLAS_UPLO
Uplo
,
const
CBLAS_TRANSPOSE
TransA
,
const
CBLAS_DIAG
Diag
,
const
matrix
<
T
,
NR1
,
NC1
,
MM
,
layout
>&
A
,
matrix
<
T
,
NR2
,
NC2
,
MM
,
layout
>&
B
)
...
...
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