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
0ef7198e
Commit
0ef7198e
authored
Mar 22, 2018
by
Davis King
Browse files
Added a CBLAS_INT_TYPE macro to control the int type used by cblas.
parent
e71f6bce
Changes
140
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
61 additions
and
61 deletions
+61
-61
dlib/external/cblas/cblas_zher.c
dlib/external/cblas/cblas_zher.c
+3
-3
dlib/external/cblas/cblas_zher2.c
dlib/external/cblas/cblas_zher2.c
+3
-3
dlib/external/cblas/cblas_zher2k.c
dlib/external/cblas/cblas_zher2k.c
+4
-4
dlib/external/cblas/cblas_zherk.c
dlib/external/cblas/cblas_zherk.c
+3
-3
dlib/external/cblas/cblas_zhpmv.c
dlib/external/cblas/cblas_zhpmv.c
+5
-5
dlib/external/cblas/cblas_zhpr.c
dlib/external/cblas/cblas_zhpr.c
+3
-3
dlib/external/cblas/cblas_zhpr2.c
dlib/external/cblas/cblas_zhpr2.c
+3
-3
dlib/external/cblas/cblas_zscal.c
dlib/external/cblas/cblas_zscal.c
+2
-2
dlib/external/cblas/cblas_zswap.c
dlib/external/cblas/cblas_zswap.c
+2
-2
dlib/external/cblas/cblas_zsymm.c
dlib/external/cblas/cblas_zsymm.c
+4
-4
dlib/external/cblas/cblas_zsyr2k.c
dlib/external/cblas/cblas_zsyr2k.c
+4
-4
dlib/external/cblas/cblas_zsyrk.c
dlib/external/cblas/cblas_zsyrk.c
+3
-3
dlib/external/cblas/cblas_ztbmv.c
dlib/external/cblas/cblas_ztbmv.c
+3
-3
dlib/external/cblas/cblas_ztbsv.c
dlib/external/cblas/cblas_ztbsv.c
+3
-3
dlib/external/cblas/cblas_ztpmv.c
dlib/external/cblas/cblas_ztpmv.c
+2
-2
dlib/external/cblas/cblas_ztpsv.c
dlib/external/cblas/cblas_ztpsv.c
+2
-2
dlib/external/cblas/cblas_ztrmm.c
dlib/external/cblas/cblas_ztrmm.c
+3
-3
dlib/external/cblas/cblas_ztrmv.c
dlib/external/cblas/cblas_ztrmv.c
+3
-3
dlib/external/cblas/cblas_ztrsm.c
dlib/external/cblas/cblas_ztrsm.c
+3
-3
dlib/external/cblas/cblas_ztrsv.c
dlib/external/cblas/cblas_ztrsv.c
+3
-3
No files found.
dlib/external/cblas/cblas_zher.c
View file @
0ef7198e
...
...
@@ -10,8 +10,8 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zher
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
int
N
,
const
double
alpha
,
const
void
*
X
,
const
int
incX
,
void
*
A
,
const
int
lda
)
const
CBLAS_INT_TYPE
N
,
const
double
alpha
,
const
void
*
X
,
const
CBLAS_INT_TYPE
incX
,
void
*
A
,
const
CBLAS_INT_TYPE
lda
)
{
char
UL
;
#ifdef F77_CHAR
...
...
@@ -27,7 +27,7 @@ void cblas_zher(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_lda lda
#define F77_incX incx
#endif
int
n
,
i
,
tincx
,
incx
=
incX
;
CBLAS_INT_TYPE
n
,
i
,
tincx
,
incx
=
incX
;
double
*
x
=
(
double
*
)
X
,
*
xx
=
(
double
*
)
X
,
*
tx
,
*
st
;
...
...
dlib/external/cblas/cblas_zher2.c
View file @
0ef7198e
...
...
@@ -10,8 +10,8 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zher2
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
int
N
,
const
void
*
alpha
,
const
void
*
X
,
const
int
incX
,
const
void
*
Y
,
const
int
incY
,
void
*
A
,
const
int
lda
)
const
CBLAS_INT_TYPE
N
,
const
void
*
alpha
,
const
void
*
X
,
const
CBLAS_INT_TYPE
incX
,
const
void
*
Y
,
const
CBLAS_INT_TYPE
incY
,
void
*
A
,
const
CBLAS_INT_TYPE
lda
)
{
char
UL
;
#ifdef F77_CHAR
...
...
@@ -28,7 +28,7 @@ void cblas_zher2(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_incX incx
#define F77_incY incy
#endif
int
n
,
i
,
j
,
tincx
,
tincy
,
incx
=
incX
,
incy
=
incY
;
CBLAS_INT_TYPE
n
,
i
,
j
,
tincx
,
tincy
,
incx
=
incX
,
incy
=
incY
;
double
*
x
=
(
double
*
)
X
,
*
xx
=
(
double
*
)
X
,
*
y
=
(
double
*
)
Y
,
*
yy
=
(
double
*
)
Y
,
*
tx
,
*
ty
,
*
stx
,
*
sty
;
...
...
dlib/external/cblas/cblas_zher2k.c
View file @
0ef7198e
...
...
@@ -10,10 +10,10 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zher2k
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
Trans
,
const
int
N
,
const
int
K
,
const
void
*
alpha
,
const
void
*
A
,
const
int
lda
,
const
void
*
B
,
const
int
ldb
,
const
double
beta
,
void
*
C
,
const
int
ldc
)
const
enum
CBLAS_TRANSPOSE
Trans
,
const
CBLAS_INT_TYPE
N
,
const
CBLAS_INT_TYPE
K
,
const
void
*
alpha
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
const
void
*
B
,
const
CBLAS_INT_TYPE
ldb
,
const
double
beta
,
void
*
C
,
const
CBLAS_INT_TYPE
ldc
)
{
char
UL
,
TR
;
#ifdef F77_CHAR
...
...
dlib/external/cblas/cblas_zherk.c
View file @
0ef7198e
...
...
@@ -10,9 +10,9 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zherk
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
Trans
,
const
int
N
,
const
int
K
,
const
double
alpha
,
const
void
*
A
,
const
int
lda
,
const
double
beta
,
void
*
C
,
const
int
ldc
)
const
enum
CBLAS_TRANSPOSE
Trans
,
const
CBLAS_INT_TYPE
N
,
const
CBLAS_INT_TYPE
K
,
const
double
alpha
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
const
double
beta
,
void
*
C
,
const
CBLAS_INT_TYPE
ldc
)
{
char
UL
,
TR
;
#ifdef F77_CHAR
...
...
dlib/external/cblas/cblas_zhpmv.c
View file @
0ef7198e
...
...
@@ -10,10 +10,10 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zhpmv
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
int
N
,
const
enum
CBLAS_UPLO
Uplo
,
const
CBLAS_INT_TYPE
N
,
const
void
*
alpha
,
const
void
*
AP
,
const
void
*
X
,
const
int
incX
,
const
void
*
beta
,
void
*
Y
,
const
int
incY
)
const
void
*
X
,
const
CBLAS_INT_TYPE
incX
,
const
void
*
beta
,
void
*
Y
,
const
CBLAS_INT_TYPE
incY
)
{
char
UL
;
#ifdef F77_CHAR
...
...
@@ -28,10 +28,10 @@ void cblas_zhpmv(const enum CBLAS_ORDER order,
#define F77_incX incx
#define F77_incY incY
#endif
int
n
,
i
=
0
,
incx
=
incX
;
CBLAS_INT_TYPE
n
,
i
=
0
,
incx
=
incX
;
const
double
*
xx
=
(
double
*
)
X
,
*
alp
=
(
double
*
)
alpha
,
*
bet
=
(
double
*
)
beta
;
double
ALPHA
[
2
],
BETA
[
2
];
int
tincY
,
tincx
;
CBLAS_INT_TYPE
tincY
,
tincx
;
double
*
x
=
(
double
*
)
X
,
*
y
=
(
double
*
)
Y
,
*
st
=
0
,
*
tx
;
if
(
order
==
CblasColMajor
)
...
...
dlib/external/cblas/cblas_zhpr.c
View file @
0ef7198e
...
...
@@ -10,8 +10,8 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zhpr
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
int
N
,
const
double
alpha
,
const
void
*
X
,
const
int
incX
,
void
*
A
)
const
CBLAS_INT_TYPE
N
,
const
double
alpha
,
const
void
*
X
,
const
CBLAS_INT_TYPE
incX
,
void
*
A
)
{
char
UL
;
#ifdef F77_CHAR
...
...
@@ -26,7 +26,7 @@ void cblas_zhpr(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_N N
#define F77_incX incx
#endif
int
n
,
i
,
tincx
,
incx
=
incX
;
CBLAS_INT_TYPE
n
,
i
,
tincx
,
incx
=
incX
;
double
*
x
=
(
double
*
)
X
,
*
xx
=
(
double
*
)
X
,
*
tx
,
*
st
;
...
...
dlib/external/cblas/cblas_zhpr2.c
View file @
0ef7198e
...
...
@@ -10,8 +10,8 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zhpr2
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
int
N
,
const
void
*
alpha
,
const
void
*
X
,
const
int
incX
,
const
void
*
Y
,
const
int
incY
,
void
*
Ap
)
const
CBLAS_INT_TYPE
N
,
const
void
*
alpha
,
const
void
*
X
,
const
CBLAS_INT_TYPE
incX
,
const
void
*
Y
,
const
CBLAS_INT_TYPE
incY
,
void
*
Ap
)
{
char
UL
;
...
...
@@ -28,7 +28,7 @@ void cblas_zhpr2(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_incX incx
#define F77_incY incy
#endif
int
n
,
i
,
j
,
incx
=
incX
,
incy
=
incY
;
CBLAS_INT_TYPE
n
,
i
,
j
,
incx
=
incX
,
incy
=
incY
;
double
*
x
=
(
double
*
)
X
,
*
xx
=
(
double
*
)
X
,
*
y
=
(
double
*
)
Y
,
*
yy
=
(
double
*
)
Y
,
*
stx
,
*
sty
;
...
...
dlib/external/cblas/cblas_zscal.c
View file @
0ef7198e
...
...
@@ -8,8 +8,8 @@
*/
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zscal
(
const
int
N
,
const
void
*
alpha
,
void
*
X
,
const
int
incX
)
void
cblas_zscal
(
const
CBLAS_INT_TYPE
N
,
const
void
*
alpha
,
void
*
X
,
const
CBLAS_INT_TYPE
incX
)
{
#ifdef F77_INT
F77_INT
F77_N
=
N
,
F77_incX
=
incX
;
...
...
dlib/external/cblas/cblas_zswap.c
View file @
0ef7198e
...
...
@@ -8,8 +8,8 @@
*/
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zswap
(
const
int
N
,
void
*
X
,
const
int
incX
,
void
*
Y
,
const
int
incY
)
void
cblas_zswap
(
const
CBLAS_INT_TYPE
N
,
void
*
X
,
const
CBLAS_INT_TYPE
incX
,
void
*
Y
,
const
CBLAS_INT_TYPE
incY
)
{
#ifdef F77_INT
F77_INT
F77_N
=
N
,
F77_incX
=
incX
,
F77_incY
=
incY
;
...
...
dlib/external/cblas/cblas_zsymm.c
View file @
0ef7198e
...
...
@@ -10,10 +10,10 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zsymm
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_SIDE
Side
,
const
enum
CBLAS_UPLO
Uplo
,
const
int
M
,
const
int
N
,
const
void
*
alpha
,
const
void
*
A
,
const
int
lda
,
const
void
*
B
,
const
int
ldb
,
const
void
*
beta
,
void
*
C
,
const
int
ldc
)
const
enum
CBLAS_UPLO
Uplo
,
const
CBLAS_INT_TYPE
M
,
const
CBLAS_INT_TYPE
N
,
const
void
*
alpha
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
const
void
*
B
,
const
CBLAS_INT_TYPE
ldb
,
const
void
*
beta
,
void
*
C
,
const
CBLAS_INT_TYPE
ldc
)
{
char
SD
,
UL
;
#ifdef F77_CHAR
...
...
dlib/external/cblas/cblas_zsyr2k.c
View file @
0ef7198e
...
...
@@ -10,10 +10,10 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zsyr2k
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
Trans
,
const
int
N
,
const
int
K
,
const
void
*
alpha
,
const
void
*
A
,
const
int
lda
,
const
void
*
B
,
const
int
ldb
,
const
void
*
beta
,
void
*
C
,
const
int
ldc
)
const
enum
CBLAS_TRANSPOSE
Trans
,
const
CBLAS_INT_TYPE
N
,
const
CBLAS_INT_TYPE
K
,
const
void
*
alpha
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
const
void
*
B
,
const
CBLAS_INT_TYPE
ldb
,
const
void
*
beta
,
void
*
C
,
const
CBLAS_INT_TYPE
ldc
)
{
char
UL
,
TR
;
#ifdef F77_CHAR
...
...
dlib/external/cblas/cblas_zsyrk.c
View file @
0ef7198e
...
...
@@ -10,9 +10,9 @@
#include "cblas.h"
#include "cblas_f77.h"
void
cblas_zsyrk
(
const
enum
CBLAS_ORDER
Order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
Trans
,
const
int
N
,
const
int
K
,
const
void
*
alpha
,
const
void
*
A
,
const
int
lda
,
const
void
*
beta
,
void
*
C
,
const
int
ldc
)
const
enum
CBLAS_TRANSPOSE
Trans
,
const
CBLAS_INT_TYPE
N
,
const
CBLAS_INT_TYPE
K
,
const
void
*
alpha
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
const
void
*
beta
,
void
*
C
,
const
CBLAS_INT_TYPE
ldc
)
{
char
UL
,
TR
;
#ifdef F77_CHAR
...
...
dlib/external/cblas/cblas_ztbmv.c
View file @
0ef7198e
...
...
@@ -9,8 +9,8 @@
#include "cblas_f77.h"
void
cblas_ztbmv
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
N
,
const
int
K
,
const
void
*
A
,
const
int
lda
,
void
*
X
,
const
int
incX
)
const
CBLAS_INT_TYPE
N
,
const
CBLAS_INT_TYPE
K
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
void
*
X
,
const
CBLAS_INT_TYPE
incX
)
{
char
TA
;
char
UL
;
...
...
@@ -30,7 +30,7 @@ void cblas_ztbmv(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_lda lda
#define F77_incX incX
#endif
int
n
,
i
=
0
,
tincX
;
CBLAS_INT_TYPE
n
,
i
=
0
,
tincX
;
double
*
st
=
0
,
*
x
=
(
double
*
)
X
;
if
(
order
==
CblasColMajor
)
...
...
dlib/external/cblas/cblas_ztbsv.c
View file @
0ef7198e
...
...
@@ -9,8 +9,8 @@
#include "cblas_f77.h"
void
cblas_ztbsv
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
N
,
const
int
K
,
const
void
*
A
,
const
int
lda
,
void
*
X
,
const
int
incX
)
const
CBLAS_INT_TYPE
N
,
const
CBLAS_INT_TYPE
K
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
void
*
X
,
const
CBLAS_INT_TYPE
incX
)
{
char
TA
;
char
UL
;
...
...
@@ -30,7 +30,7 @@ void cblas_ztbsv(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_lda lda
#define F77_incX incX
#endif
int
n
,
i
=
0
,
tincX
;
CBLAS_INT_TYPE
n
,
i
=
0
,
tincX
;
double
*
st
=
0
,
*
x
=
(
double
*
)
X
;
if
(
order
==
CblasColMajor
)
...
...
dlib/external/cblas/cblas_ztpmv.c
View file @
0ef7198e
...
...
@@ -9,7 +9,7 @@
#include "cblas_f77.h"
void
cblas_ztpmv
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
N
,
const
void
*
Ap
,
void
*
X
,
const
int
incX
)
const
CBLAS_INT_TYPE
N
,
const
void
*
Ap
,
void
*
X
,
const
CBLAS_INT_TYPE
incX
)
{
char
TA
;
char
UL
;
...
...
@@ -27,7 +27,7 @@ void cblas_ztpmv(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_N N
#define F77_incX incX
#endif
int
n
,
i
=
0
,
tincX
;
CBLAS_INT_TYPE
n
,
i
=
0
,
tincX
;
double
*
st
=
0
,
*
x
=
(
double
*
)
X
;
if
(
order
==
CblasColMajor
)
...
...
dlib/external/cblas/cblas_ztpsv.c
View file @
0ef7198e
...
...
@@ -9,7 +9,7 @@
#include "cblas_f77.h"
void
cblas_ztpsv
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
N
,
const
void
*
Ap
,
void
*
X
,
const
int
incX
)
const
CBLAS_INT_TYPE
N
,
const
void
*
Ap
,
void
*
X
,
const
CBLAS_INT_TYPE
incX
)
{
char
TA
;
char
UL
;
...
...
@@ -27,7 +27,7 @@ void cblas_ztpsv(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_N N
#define F77_incX incX
#endif
int
n
,
i
=
0
,
tincX
;
CBLAS_INT_TYPE
n
,
i
=
0
,
tincX
;
double
*
st
=
0
,
*
x
=
(
double
*
)
X
;
if
(
order
==
CblasColMajor
)
...
...
dlib/external/cblas/cblas_ztrmm.c
View file @
0ef7198e
...
...
@@ -11,9 +11,9 @@
#include "cblas_f77.h"
void
cblas_ztrmm
(
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
,
const
void
*
alpha
,
const
void
*
A
,
const
int
lda
,
void
*
B
,
const
int
ldb
)
const
enum
CBLAS_DIAG
Diag
,
const
CBLAS_INT_TYPE
M
,
const
CBLAS_INT_TYPE
N
,
const
void
*
alpha
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
void
*
B
,
const
CBLAS_INT_TYPE
ldb
)
{
char
UL
,
TA
,
SD
,
DI
;
#ifdef F77_CHAR
...
...
dlib/external/cblas/cblas_ztrmv.c
View file @
0ef7198e
...
...
@@ -9,8 +9,8 @@
#include "cblas_f77.h"
void
cblas_ztrmv
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
N
,
const
void
*
A
,
const
int
lda
,
void
*
X
,
const
int
incX
)
const
CBLAS_INT_TYPE
N
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
void
*
X
,
const
CBLAS_INT_TYPE
incX
)
{
char
TA
;
...
...
@@ -30,7 +30,7 @@ void cblas_ztrmv(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_lda lda
#define F77_incX incX
#endif
int
n
,
i
=
0
,
tincX
;
CBLAS_INT_TYPE
n
,
i
=
0
,
tincX
;
double
*
st
=
0
,
*
x
=
(
double
*
)
X
;
if
(
order
==
CblasColMajor
)
...
...
dlib/external/cblas/cblas_ztrsm.c
View file @
0ef7198e
...
...
@@ -11,9 +11,9 @@
#include "cblas_f77.h"
void
cblas_ztrsm
(
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
,
const
void
*
alpha
,
const
void
*
A
,
const
int
lda
,
void
*
B
,
const
int
ldb
)
const
enum
CBLAS_DIAG
Diag
,
const
CBLAS_INT_TYPE
M
,
const
CBLAS_INT_TYPE
N
,
const
void
*
alpha
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
void
*
B
,
const
CBLAS_INT_TYPE
ldb
)
{
char
UL
,
TA
,
SD
,
DI
;
#ifdef F77_CHAR
...
...
dlib/external/cblas/cblas_ztrsv.c
View file @
0ef7198e
...
...
@@ -9,8 +9,8 @@
#include "cblas_f77.h"
void
cblas_ztrsv
(
const
enum
CBLAS_ORDER
order
,
const
enum
CBLAS_UPLO
Uplo
,
const
enum
CBLAS_TRANSPOSE
TransA
,
const
enum
CBLAS_DIAG
Diag
,
const
int
N
,
const
void
*
A
,
const
int
lda
,
void
*
X
,
const
int
incX
)
const
CBLAS_INT_TYPE
N
,
const
void
*
A
,
const
CBLAS_INT_TYPE
lda
,
void
*
X
,
const
CBLAS_INT_TYPE
incX
)
{
char
TA
;
char
UL
;
...
...
@@ -29,7 +29,7 @@ void cblas_ztrsv(const enum CBLAS_ORDER order, const enum CBLAS_UPLO Uplo,
#define F77_lda lda
#define F77_incX incX
#endif
int
n
,
i
=
0
,
tincX
;
CBLAS_INT_TYPE
n
,
i
=
0
,
tincX
;
double
*
st
=
0
,
*
x
=
(
double
*
)
X
;
if
(
order
==
CblasColMajor
)
...
...
Prev
1
…
3
4
5
6
7
Next
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