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
8c9825d5
Commit
8c9825d5
authored
5 months ago
by
Mathieu Faverge
Browse files
Options
Downloads
Patches
Plain Diff
context: Add an optlacpy context option
parent
7a79e244
No related branches found
No related tags found
1 merge request
!307
GETRF NOPIV: Use explicit workspaces to control the communication flow
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
control/context.c
+2
-1
2 additions, 1 deletion
control/context.c
include/chameleon/struct_context.h
+9
-8
9 additions, 8 deletions
include/chameleon/struct_context.h
runtime/starpu/control/runtime_options.c
+1
-1
1 addition, 1 deletion
runtime/starpu/control/runtime_options.c
with
12 additions
and
10 deletions
control/context.c
+
2
−
1
View file @
8c9825d5
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
* @author Matthieu Kuhn
* @author Matthieu Kuhn
* @author Loris Lucido
* @author Loris Lucido
* @author Terry Cojean
* @author Terry Cojean
* @date 202
3-09
-1
1
* @date 202
4-10
-1
7
*
*
***
***
*
*
...
@@ -140,6 +140,7 @@ CHAM_context_t *chameleon_context_create()
...
@@ -140,6 +140,7 @@ CHAM_context_t *chameleon_context_create()
chamctxt
->
progress_enabled
=
chameleon_env_on_off
(
"CHAMELEON_PROGRESS"
,
CHAMELEON_FALSE
);
chamctxt
->
progress_enabled
=
chameleon_env_on_off
(
"CHAMELEON_PROGRESS"
,
CHAMELEON_FALSE
);
chamctxt
->
generic_enabled
=
chameleon_env_on_off
(
"CHAMELEON_GENERIC"
,
CHAMELEON_FALSE
);
chamctxt
->
generic_enabled
=
chameleon_env_on_off
(
"CHAMELEON_GENERIC"
,
CHAMELEON_FALSE
);
chamctxt
->
autominmax_enabled
=
chameleon_env_on_off
(
"CHAMELEON_AUTOMINMAX"
,
CHAMELEON_TRUE
);
chamctxt
->
autominmax_enabled
=
chameleon_env_on_off
(
"CHAMELEON_AUTOMINMAX"
,
CHAMELEON_TRUE
);
chamctxt
->
optlacpy_enabled
=
chameleon_env_on_off
(
"CHAMELEON_OPTIMIZED_LACPY"
,
CHAMELEON_TRUE
);
chamctxt
->
runtime_paused
=
CHAMELEON_FALSE
;
chamctxt
->
runtime_paused
=
CHAMELEON_FALSE
;
...
...
This diff is collapsed.
Click to expand it.
include/chameleon/struct_context.h
+
9
−
8
View file @
8c9825d5
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
* @version 1.3.0
* @version 1.3.0
* @author Mathieu Faverge
* @author Mathieu Faverge
* @author Florent Pruvost
* @author Florent Pruvost
* @date 2024-0
3
-1
6
* @date 2024-
1
0-1
7
*
*
*/
*/
#ifndef _struct_context_h_
#ifndef _struct_context_h_
...
@@ -43,18 +43,19 @@ typedef struct chameleon_context_s {
...
@@ -43,18 +43,19 @@ typedef struct chameleon_context_s {
cham_bool_t
progress_enabled
;
cham_bool_t
progress_enabled
;
cham_bool_t
generic_enabled
;
cham_bool_t
generic_enabled
;
cham_bool_t
autominmax_enabled
;
cham_bool_t
autominmax_enabled
;
cham_bool_t
optlacpy_enabled
;
/**< Enable runtime cpy instead of lacpy kernel */
cham_bool_t
runtime_paused
;
cham_bool_t
runtime_paused
;
cham_householder_t
householder
;
/**
>
"domino" (flat) or tree-based (reduction) Householder */
cham_householder_t
householder
;
/**
<
"domino" (flat) or tree-based (reduction) Householder */
cham_translation_t
translation
;
/**
>
In place or Out of place layout conversion */
cham_translation_t
translation
;
/**
<
In place or Out of place layout conversion */
int
nb
;
int
nb
;
int
ib
;
int
ib
;
int
rhblock
;
/**
>
block size for tree-based (reduction) Householder */
int
rhblock
;
/**
<
block size for tree-based (reduction) Householder */
int
lookahead
;
/**
>
depth of the look ahead in algorithms */
int
lookahead
;
/**
<
depth of the look ahead in algorithms */
void
*
schedopt
;
/**
>
structure for runtimes */
void
*
schedopt
;
/**
<
structure for runtimes */
int
mpi_outer_init
;
/**
>
MPI has been initialized outside our functions */
int
mpi_outer_init
;
/**
<
MPI has been initialized outside our functions */
MPI_Comm
comm
;
/**
>
MPI communicator */
MPI_Comm
comm
;
/**
<
MPI communicator */
}
CHAM_context_t
;
}
CHAM_context_t
;
END_C_DECLS
END_C_DECLS
...
...
This diff is collapsed.
Click to expand it.
runtime/starpu/control/runtime_options.c
+
1
−
1
View file @
8c9825d5
...
@@ -32,7 +32,7 @@ void RUNTIME_options_init( RUNTIME_option_t *options, CHAM_context_t *chamctxt,
...
@@ -32,7 +32,7 @@ void RUNTIME_options_init( RUNTIME_option_t *options, CHAM_context_t *chamctxt,
options
->
priority
=
RUNTIME_PRIORITY_MIN
;
options
->
priority
=
RUNTIME_PRIORITY_MIN
;
options
->
workerid
=
(
schedopt
==
NULL
)
?
-
1
:
schedopt
->
workerid
;
options
->
workerid
=
(
schedopt
==
NULL
)
?
-
1
:
schedopt
->
workerid
;
options
->
forcesub
=
0
;
options
->
forcesub
=
0
;
options
->
withlacpy
=
0
;
options
->
withlacpy
=
!
(
chamctxt
->
optlacpy_enabled
)
;
options
->
withcuda
=
(
chamctxt
->
ncudas
>
0
);
options
->
withcuda
=
(
chamctxt
->
ncudas
>
0
);
options
->
ws_wsize
=
0
;
options
->
ws_wsize
=
0
;
options
->
ws_hsize
=
0
;
options
->
ws_hsize
=
0
;
...
...
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