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
e3281851
Commit
e3281851
authored
Jul 10, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added checks to see if cblas.h has already been #included.
parent
15022b22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
cblas_constants.h
dlib/matrix/cblas_constants.h
+2
-0
matrix_blas_bindings.h
dlib/matrix/matrix_blas_bindings.h
+2
-0
matrix_trsm.h
dlib/matrix/matrix_trsm.h
+2
-1
No files found.
dlib/matrix/cblas_constants.h
View file @
e3281851
...
...
@@ -3,6 +3,7 @@
#ifndef DLIB_CBLAS_CONSTAnTS_Hh_
#define DLIB_CBLAS_CONSTAnTS_Hh_
#ifndef CBLAS_H
namespace
dlib
{
namespace
blas_bindings
...
...
@@ -15,6 +16,7 @@ namespace dlib
}
}
#endif // if not CBLAS_H
#endif // DLIB_CBLAS_CONSTAnTS_Hh_
dlib/matrix/matrix_blas_bindings.h
View file @
e3281851
...
...
@@ -44,6 +44,7 @@ namespace dlib
#define DLIB_TEST_BLAS_BINDING_SCAL
#endif
#ifndef CBLAS_H
extern
"C"
{
// Here we declare the prototypes for the CBLAS calls used by the BLAS bindings below
...
...
@@ -133,6 +134,7 @@ namespace dlib
const
void
*
alpha
,
const
void
*
X
,
const
int
incX
,
const
void
*
Y
,
const
int
incY
,
void
*
A
,
const
int
lda
);
}
#endif // if not CBLAS_H
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
dlib/matrix/matrix_trsm.h
View file @
e3281851
...
...
@@ -9,7 +9,7 @@ namespace dlib
{
namespace
blas_bindings
{
#ifndef CBLAS_H
extern
"C"
{
void
cblas_strsm
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_SIDE
Side
,
...
...
@@ -24,6 +24,7 @@ namespace dlib
const
double
alpha
,
const
double
*
A
,
const
int
lda
,
double
*
B
,
const
int
ldb
);
}
#endif // if not CBLAS_H
// ------------------------------------------------------------------------------------
...
...
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