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
e2c471c2
Commit
e2c471c2
authored
3 months ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
getrf: Add a ringswitch parameter to define when to switch from classic bcast to ring bcast
parent
422dc322
No related branches found
No related tags found
1 merge request
!504
GETRF: Add a bcast version of the workspace without ring
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compute/zgetrf.c
+3
-0
3 additions, 0 deletions
compute/zgetrf.c
control/compute_z.h
+6
-5
6 additions, 5 deletions
control/compute_z.h
with
9 additions
and
5 deletions
compute/zgetrf.c
+
3
−
0
View file @
e2c471c2
...
...
@@ -27,6 +27,7 @@
*
*/
#include
"control/common.h"
#include
<limits.h>
/**
********************************************************************************
...
...
@@ -103,6 +104,8 @@ CHAMELEON_zgetrf_WS_Alloc( const CHAM_desc_t *A )
ws
->
batch_size
=
CHAMELEON_BATCH_SIZE
;
}
ws
->
ringswitch
=
chameleon_getenv_get_value_int
(
"CHAMELEON_GETRF_RINGSWITCH"
,
INT_MAX
);
/* Allocation of U for permutation of the panels */
if
(
ws
->
alg
==
ChamGetrfNoPivPerColumn
)
{
chameleon_desc_init
(
&
(
ws
->
U
),
CHAMELEON_MAT_ALLOC_TILE
,
...
...
This diff is collapsed.
Click to expand it.
control/compute_z.h
+
6
−
5
View file @
e2c471c2
...
...
@@ -44,12 +44,13 @@ struct chameleon_pzgemm_s {
*/
struct
chameleon_pzgetrf_s
{
cham_getrf_t
alg
;
int
ib
;
/**< Internal blocking parameter */
int
batch_size
;
/**< Batch size for the panel */
int
ib
;
/**< Internal blocking parameter */
int
batch_size
;
/**< Batch size for the panel */
int
ringswitch
;
/**< Define when to switch to ring bcast */
CHAM_desc_t
U
;
CHAM_desc_t
Up
;
/**< Workspace used for the panel factorization */
CHAM_desc_t
Wu
;
/**< Workspace used for the permutation and update */
CHAM_desc_t
Wl
;
/**< Workspace used the update */
CHAM_desc_t
Up
;
/**< Workspace used for the panel factorization */
CHAM_desc_t
Wu
;
/**< Workspace used for the permutation and update */
CHAM_desc_t
Wl
;
/**< Workspace used the update */
int
*
proc_involved
;
unsigned
int
involved
;
int
np_involved
;
...
...
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