Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
033423fc
Commit
033423fc
authored
5 years ago
by
Nathalie Furmento
Browse files
Options
Downloads
Patches
Plain Diff
new-testing: do not perform check when simulation is enabled
parent
f3ca9c80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!191
Simulation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
new-testing/testing_zcheck.c
+6
-1
6 additions, 1 deletion
new-testing/testing_zcheck.c
new-testing/testing_zcheck.h
+36
-0
36 additions, 0 deletions
new-testing/testing_zcheck.h
with
42 additions
and
1 deletion
new-testing/testing_zcheck.c
+
6
−
1
View file @
033423fc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
*
*
* @file testing_zcheck.c
* @file testing_zcheck.c
*
*
* @copyright 2019-20
19
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
* @copyright 2019-20
20
Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
* Univ. Bordeaux. All rights reserved.
* Univ. Bordeaux. All rights reserved.
*
*
***
***
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
#include
<string.h>
#include
<string.h>
#include
<math.h>
#include
<math.h>
#include
<chameleon.h>
#include
<chameleon.h>
#if ! defined(CHAMELEON_SIMULATION)
#include
<coreblas/cblas.h>
#include
<coreblas/cblas.h>
#include
<coreblas/lapacke.h>
#include
<coreblas/lapacke.h>
#include
<coreblas.h>
#include
<coreblas.h>
...
@@ -1878,3 +1882,4 @@ int check_zgels( run_arg_list_t *args, cham_trans_t trans, CHAM_desc_t *descA, C
...
@@ -1878,3 +1882,4 @@ int check_zgels( run_arg_list_t *args, cham_trans_t trans, CHAM_desc_t *descA, C
return
info_solution
;
return
info_solution
;
}
}
#endif // CHAMELEON_SIMULATION
This diff is collapsed.
Click to expand it.
new-testing/testing_zcheck.h
+
36
−
0
View file @
033423fc
...
@@ -30,6 +30,40 @@
...
@@ -30,6 +30,40 @@
#define CHECK_TRMM 3
#define CHECK_TRMM 3
#define CHECK_TRSM 4
#define CHECK_TRSM 4
#if defined(CHAMELEON_SIMULATION)
static
inline
int
check_zmatrices
(
run_arg_list_t
*
args
,
cham_uplo_t
uplo
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descB
)
{
return
0
;
}
static
inline
int
check_znorm
(
run_arg_list_t
*
args
,
cham_mtxtype_t
mtxtype
,
cham_normtype_t
norm_type
,
cham_uplo_t
uplo
,
cham_diag_t
diag
,
double
norm_cham
,
CHAM_desc_t
*
descA
)
{
return
0
;
}
static
inline
int
check_zsum
(
run_arg_list_t
*
args
,
cham_uplo_t
uplo
,
cham_trans_t
trans
,
CHAMELEON_Complex64_t
alpha
,
CHAM_desc_t
*
descA
,
CHAMELEON_Complex64_t
beta
,
CHAM_desc_t
*
descBref
,
CHAM_desc_t
*
descBcham
)
{
return
0
;
}
static
inline
int
check_zscale
(
run_arg_list_t
*
args
,
cham_uplo_t
uplo
,
CHAMELEON_Complex64_t
alpha
,
CHAM_desc_t
*
descA1
,
CHAM_desc_t
*
descA2
)
{
return
0
;
}
static
inline
int
check_zgemm
(
run_arg_list_t
*
args
,
cham_trans_t
transA
,
cham_trans_t
transB
,
CHAMELEON_Complex64_t
alpha
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descB
,
CHAMELEON_Complex64_t
beta
,
CHAM_desc_t
*
descCref
,
CHAM_desc_t
*
descC
)
{
return
0
;
}
static
inline
int
check_zsymm
(
run_arg_list_t
*
args
,
cham_mtxtype_t
mtxtype
,
cham_side_t
side
,
cham_uplo_t
uplo
,
CHAMELEON_Complex64_t
alpha
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descB
,
CHAMELEON_Complex64_t
beta
,
CHAM_desc_t
*
descCref
,
CHAM_desc_t
*
descC
)
{
return
0
;
}
static
inline
int
check_zsyrk
(
run_arg_list_t
*
args
,
cham_mtxtype_t
mtxtype
,
cham_uplo_t
uplo
,
cham_trans_t
trans
,
CHAMELEON_Complex64_t
alpha
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descB
,
CHAMELEON_Complex64_t
beta
,
CHAM_desc_t
*
descCref
,
CHAM_desc_t
*
descC
)
{
return
0
;
}
static
inline
int
check_ztrmm
(
run_arg_list_t
*
args
,
int
check_func
,
cham_side_t
side
,
cham_uplo_t
uplo
,
cham_trans_t
trans
,
cham_diag_t
diag
,
CHAMELEON_Complex64_t
alpha
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descB
,
CHAM_desc_t
*
descBref
)
{
return
0
;
}
static
inline
int
check_zlauum
(
run_arg_list_t
*
args
,
cham_uplo_t
uplo
,
CHAM_desc_t
*
descA1
,
CHAM_desc_t
*
descA2
)
{
return
0
;
}
static
inline
int
check_zxxtrf
(
run_arg_list_t
*
args
,
cham_mtxtype_t
mtxtype
,
cham_uplo_t
uplo
,
CHAM_desc_t
*
descA1
,
CHAM_desc_t
*
descA2
)
{
return
0
;
}
static
inline
int
check_zsolve
(
run_arg_list_t
*
args
,
cham_mtxtype_t
mtxtype
,
cham_trans_t
trans
,
cham_uplo_t
uplo
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descX
,
CHAM_desc_t
*
descB
)
{
return
0
;
}
static
inline
int
check_ztrtri
(
run_arg_list_t
*
args
,
cham_mtxtype_t
mtxtype
,
cham_uplo_t
uplo
,
cham_diag_t
diag
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descAi
)
{
return
0
;
}
/* Using QR factorization */
static
inline
int
check_zortho
(
run_arg_list_t
*
args
,
CHAM_desc_t
*
descQ
)
{
return
0
;
}
static
inline
int
check_zgeqrf
(
run_arg_list_t
*
args
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descAF
,
CHAM_desc_t
*
descQ
)
{
return
0
;
}
static
inline
int
check_zgelqf
(
run_arg_list_t
*
args
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descAF
,
CHAM_desc_t
*
descQ
)
{
return
0
;
}
static
inline
int
check_zgels
(
run_arg_list_t
*
args
,
cham_trans_t
trans
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descX
,
CHAM_desc_t
*
descB
)
{
return
0
;
}
static
inline
int
check_zgeqrs
(
run_arg_list_t
*
args
,
cham_trans_t
trans
,
CHAM_desc_t
*
descA
,
double
Bnorm
,
CHAM_desc_t
*
descR
)
{
return
0
;
}
static
inline
int
check_zgelqs
(
run_arg_list_t
*
args
,
cham_trans_t
trans
,
CHAM_desc_t
*
descA
,
double
Bnorm
,
CHAM_desc_t
*
descR
)
{
return
0
;
}
static
inline
int
check_zqc
(
run_arg_list_t
*
args
,
cham_side_t
side
,
cham_trans_t
trans
,
CHAM_desc_t
*
descC
,
CHAM_desc_t
*
descQ
,
CHAM_desc_t
*
descCC
)
{
return
0
;
}
#else // !CHAMELEON_SIMULATION
int
check_zmatrices
(
run_arg_list_t
*
args
,
cham_uplo_t
uplo
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descB
);
int
check_zmatrices
(
run_arg_list_t
*
args
,
cham_uplo_t
uplo
,
CHAM_desc_t
*
descA
,
CHAM_desc_t
*
descB
);
int
check_znorm
(
run_arg_list_t
*
args
,
cham_mtxtype_t
mtxtype
,
cham_normtype_t
norm_type
,
cham_uplo_t
uplo
,
int
check_znorm
(
run_arg_list_t
*
args
,
cham_mtxtype_t
mtxtype
,
cham_normtype_t
norm_type
,
cham_uplo_t
uplo
,
cham_diag_t
diag
,
double
norm_cham
,
CHAM_desc_t
*
descA
);
cham_diag_t
diag
,
double
norm_cham
,
CHAM_desc_t
*
descA
);
...
@@ -60,5 +94,7 @@ int check_zgeqrs ( run_arg_list_t *args, cham_trans_t trans, CHAM_desc_t
...
@@ -60,5 +94,7 @@ int check_zgeqrs ( run_arg_list_t *args, cham_trans_t trans, CHAM_desc_t
int
check_zgelqs
(
run_arg_list_t
*
args
,
cham_trans_t
trans
,
CHAM_desc_t
*
descA
,
double
Bnorm
,
CHAM_desc_t
*
descR
);
int
check_zgelqs
(
run_arg_list_t
*
args
,
cham_trans_t
trans
,
CHAM_desc_t
*
descA
,
double
Bnorm
,
CHAM_desc_t
*
descR
);
int
check_zqc
(
run_arg_list_t
*
args
,
cham_side_t
side
,
cham_trans_t
trans
,
CHAM_desc_t
*
descC
,
CHAM_desc_t
*
descQ
,
CHAM_desc_t
*
descCC
);
int
check_zqc
(
run_arg_list_t
*
args
,
cham_side_t
side
,
cham_trans_t
trans
,
CHAM_desc_t
*
descC
,
CHAM_desc_t
*
descQ
,
CHAM_desc_t
*
descCC
);
#endif // CHAMELEON_SIMULATION
#endif
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment