Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
a9204f6e
Commit
a9204f6e
authored
Dec 12, 2017
by
Mathieu Faverge
Browse files
Rename the flush functions
parent
1f63718b
Changes
61
Hide whitespace changes
Inline
Side-by-side
compute/pzbuild.c
View file @
a9204f6e
...
...
@@ -86,6 +86,6 @@ void morse_pzbuild( MORSE_enum uplo, MORSE_desc_t *A, void *user_data, void* use
}
}
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_dataflush_all
(
);
MORSE_TASK_flush_desc
(
&
options
,
uplo
,
A
);
RUNTIME_options_finalize
(
&
options
,
morse
);
}
compute/pzgelqf.c
View file @
a9204f6e
...
...
@@ -152,8 +152,11 @@ void morse_pzgelqf(MORSE_desc_t *A, MORSE_desc_t *T, MORSE_desc_t *D,
RUNTIME_iteration_pop
(
morse
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpper
,
T
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
(
void
)
D
;
}
compute/pzgelqf_param.c
View file @
a9204f6e
...
...
@@ -196,9 +196,12 @@ void morse_pzgelqf_param( const libhqr_tree_t *qrtree, MORSE_desc_t *A,
RUNTIME_iteration_pop
(
morse
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpper
,
TS
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpper
,
TT
);
free
(
tiles
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
(
void
)
D
;
}
compute/pzgelqfrh.c
View file @
a9204f6e
...
...
@@ -180,8 +180,11 @@ void morse_pzgelqfrh(MORSE_desc_t *A, MORSE_desc_t *T, MORSE_desc_t *D, int BS,
}
RUNTIME_iteration_pop
(
morse
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpper
,
T
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
(
void
)
D
;
}
compute/pzgemm.c
View file @
a9204f6e
...
...
@@ -134,20 +134,19 @@ void morse_pzgemm(MORSE_enum transA, MORSE_enum transB,
}
}
}
MORSE_TASK_flush_data
(
&
options
,
C
(
m
,
n
)
);
}
if
(
transA
==
MorseNoTrans
)
{
for
(
k
=
0
;
k
<
A
->
nt
;
k
++
)
{
MORSE_TASK_
data
flush
(
&
options
,
A
(
m
,
k
)
);
MORSE_TASK_flush
_data
(
&
options
,
A
(
m
,
k
)
);
}
}
else
{
for
(
k
=
0
;
k
<
A
->
mt
;
k
++
)
{
MORSE_TASK_
data
flush
(
&
options
,
A
(
k
,
m
)
);
MORSE_TASK_flush
_data
(
&
options
,
A
(
k
,
m
)
);
}
}
for
(
n
=
0
;
n
<
C
->
nt
;
n
++
)
{
MORSE_TASK_dataflush
(
&
options
,
C
(
m
,
n
)
);
}
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
B
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
}
compute/pzgeqrf.c
View file @
a9204f6e
...
...
@@ -146,8 +146,11 @@ void morse_pzgeqrf(MORSE_desc_t *A, MORSE_desc_t *T, MORSE_desc_t *D,
RUNTIME_iteration_pop
(
morse
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseLower
,
T
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
(
void
)
D
;
}
compute/pzgeqrf_param.c
View file @
a9204f6e
...
...
@@ -195,9 +195,12 @@ void morse_pzgeqrf_param( const libhqr_tree_t *qrtree, MORSE_desc_t *A,
RUNTIME_iteration_pop
(
morse
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseLower
,
TS
);
MORSE_TASK_flush_desc
(
&
options
,
MorseLower
,
TT
);
free
(
tiles
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
(
void
)
D
;
}
compute/pzgeqrfrh.c
View file @
a9204f6e
...
...
@@ -177,11 +177,13 @@ void morse_pzgeqrfrh(MORSE_desc_t *A, MORSE_desc_t *T, MORSE_desc_t *D, int BS,
}
}
}
RUNTIME_iteration_pop
(
morse
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseLower
,
T
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
(
void
)
D
;
}
compute/pzgetrf_incpiv.c
View file @
a9204f6e
...
...
@@ -135,9 +135,12 @@ void morse_pzgetrf_incpiv(MORSE_desc_t *A, MORSE_desc_t *L, int *IPIV,
RUNTIME_iteration_pop
(
morse
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseLower
,
L
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
morse_desc_mat_free
(
DIAG
);
free
(
DIAG
);
...
...
compute/pzgetrf_nopiv.c
View file @
a9204f6e
...
...
@@ -103,6 +103,8 @@ void morse_pzgetrf_nopiv(MORSE_desc_t *A,
RUNTIME_iteration_pop
(
morse
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
}
compute/pzhemm.c
View file @
a9204f6e
...
...
@@ -226,6 +226,9 @@ void morse_pzhemm(MORSE_enum side, MORSE_enum uplo,
}
}
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
B
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
C
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
}
compute/pzher2k.c
View file @
a9204f6e
...
...
@@ -214,6 +214,9 @@ void morse_pzher2k(MORSE_enum uplo, MORSE_enum trans,
}
}
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
B
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
C
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
}
compute/pzherk.c
View file @
a9204f6e
...
...
@@ -173,6 +173,7 @@ void morse_pzherk(MORSE_enum uplo, MORSE_enum trans,
}
}
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
uplo
,
C
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_dataflush_all
();
}
compute/pzhetrd_he2hb.c
View file @
a9204f6e
...
...
@@ -435,9 +435,11 @@ void morse_pzhetrd_he2hb(MORSE_enum uplo,
A
(
k
,
k
),
ldak
);
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
MORSE_Sequence_Wait
(
sequence
);
morse_desc_mat_free
(
D
);
...
...
compute/pzlacpy.c
View file @
a9204f6e
...
...
@@ -129,6 +129,7 @@ void morse_pzlacpy(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B,
}
}
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
B
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_dataflush_all
();
}
compute/pzlag2c.c
View file @
a9204f6e
...
...
@@ -67,6 +67,7 @@ void morse_pclag2z(MORSE_desc_t *SA, MORSE_desc_t *B,
B
(
m
,
n
),
ldbm
);
}
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
SA
);
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
B
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_dataflush_all
();
}
compute/pzlange.c
View file @
a9204f6e
...
...
@@ -412,5 +412,5 @@ void morse_pzlange(MORSE_enum norm, MORSE_desc_t *A, double *result,
MORSE_Desc_Destroy
(
&
(
RESULT
)
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
}
compute/pzlanhe.c
View file @
a9204f6e
...
...
@@ -456,5 +456,5 @@ void morse_pzlanhe(MORSE_enum norm, MORSE_enum uplo, MORSE_desc_t *A, double *re
}
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
}
compute/pzlansy.c
View file @
a9204f6e
...
...
@@ -465,5 +465,5 @@ void morse_pzlansy(MORSE_enum norm, MORSE_enum uplo, MORSE_desc_t *A, double *re
}
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
}
compute/pzlantr.c
View file @
a9204f6e
...
...
@@ -665,5 +665,5 @@ void morse_pzlantr(MORSE_enum norm, MORSE_enum uplo, MORSE_enum diag,
}
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_
data
flush_all
();
MORSE_TASK_flush_all
();
}
Prev
1
2
3
4
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