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
521fe1d6
Commit
521fe1d6
authored
5 months ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
gepdf_qdwh: enforce the use of the original lacpy
parent
036be0d1
No related branches found
No related tags found
1 merge request
!307
GETRF NOPIV: Use explicit workspaces to control the communication flow
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compute/pzgepdf_qdwh.c
+11
-3
11 additions, 3 deletions
compute/pzgepdf_qdwh.c
with
11 additions
and
3 deletions
compute/pzgepdf_qdwh.c
+
11
−
3
View file @
521fe1d6
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
* @author Mathieu Faverge
* @author Mathieu Faverge
* @author Hatem Ltaief
* @author Hatem Ltaief
* @author Lionel Eyraud-Dubois
* @author Lionel Eyraud-Dubois
* @date 202
3-07-05
* @date 202
4-10-17
* @precisions normal z -> s d c
* @precisions normal z -> s d c
*
*
*/
*/
...
@@ -35,8 +35,8 @@ static int _zgepdf_qdwh_opt_genD = 1;
...
@@ -35,8 +35,8 @@ static int _zgepdf_qdwh_opt_genD = 1;
static
int
_zgepdf_qdwh_opt_genD
=
0
;
static
int
_zgepdf_qdwh_opt_genD
=
0
;
#endif
#endif
static
int
_zgepdf_qdwh_opt_qr
=
1
;
static
int
_zgepdf_qdwh_opt_qr
=
1
;
static
int
_zgepdf_qdwh_opt_id
=
1
;
// There is a numerical issue when combining this optimization and the StarPU lacpy
static
int
_zgepdf_qdwh_opt_id
=
1
;
static
int
_zgepdf_qdwh_verbose
=
0
;
static
int
_zgepdf_qdwh_verbose
=
0
;
/**
/**
...
@@ -603,6 +603,7 @@ chameleon_pzgepdf_qdwh( cham_mtxtype_t mtxtype, CHAM_desc_t *descU, CHAM_desc_t
...
@@ -603,6 +603,7 @@ chameleon_pzgepdf_qdwh( cham_mtxtype_t mtxtype, CHAM_desc_t *descU, CHAM_desc_t
double
conv
=
100
.;
double
conv
=
100
.;
double
normest
,
Unorm
;
double
normest
,
Unorm
;
int
it
,
itconv
,
facto
=
-
1
;
int
it
,
itconv
,
facto
=
-
1
;
cham_bool_t
optlacpy_backup
;
double
eps
=
CHAMELEON_dlamch
();
double
eps
=
CHAMELEON_dlamch
();
double
tol1
=
5
.
*
eps
;
double
tol1
=
5
.
*
eps
;
...
@@ -615,6 +616,10 @@ chameleon_pzgepdf_qdwh( cham_mtxtype_t mtxtype, CHAM_desc_t *descU, CHAM_desc_t
...
@@ -615,6 +616,10 @@ chameleon_pzgepdf_qdwh( cham_mtxtype_t mtxtype, CHAM_desc_t *descU, CHAM_desc_t
}
}
assert
(
chamctxt
->
scheduler
!=
RUNTIME_SCHED_PARSEC
);
assert
(
chamctxt
->
scheduler
!=
RUNTIME_SCHED_PARSEC
);
/* Force unoptimized lacpy */
optlacpy_backup
=
chamctxt
->
optlacpy_enabled
;
chamctxt
->
optlacpy_enabled
=
CHAMELEON_FALSE
;
if
(
info
)
{
if
(
info
)
{
info
->
itQR
=
0
;
info
->
itQR
=
0
;
info
->
itPO
=
0
;
info
->
itPO
=
0
;
...
@@ -848,5 +853,8 @@ chameleon_pzgepdf_qdwh( cham_mtxtype_t mtxtype, CHAM_desc_t *descU, CHAM_desc_t
...
@@ -848,5 +853,8 @@ chameleon_pzgepdf_qdwh( cham_mtxtype_t mtxtype, CHAM_desc_t *descU, CHAM_desc_t
&
descB2
,
&
descTS2
,
&
descTT2
,
&
descQ2
,
&
descD2
);
&
descB2
,
&
descTS2
,
&
descTT2
,
&
descQ2
,
&
descD2
);
CHAMELEON_zgemm_WS_Free
(
gemm_ws
);
CHAMELEON_zgemm_WS_Free
(
gemm_ws
);
/* Restore optimized lacpy value */
chamctxt
->
optlacpy_enabled
=
optlacpy_backup
;
return
;
return
;
}
}
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