Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
8c7df755
Commit
8c7df755
authored
Jan 15, 2018
by
Mathieu Faverge
Browse files
Keep cleaning the flushing methods
parent
522ed2ef
Changes
124
Hide whitespace changes
Inline
Side-by-side
compute/pzbuild.c
View file @
8c7df755
...
...
@@ -86,6 +86,5 @@ void morse_pzbuild( MORSE_enum uplo, MORSE_desc_t *A, void *user_data, void* use
}
}
MORSE_TASK_flush_desc
(
&
options
,
uplo
,
A
);
RUNTIME_options_finalize
(
&
options
,
morse
);
}
compute/pzgelqf.c
View file @
8c7df755
...
...
@@ -153,10 +153,7 @@ 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_flush_all
();
(
void
)
D
;
}
compute/pzgelqf_param.c
View file @
8c7df755
...
...
@@ -196,12 +196,8 @@ 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_flush_all
();
(
void
)
D
;
}
compute/pzgelqfrh.c
View file @
8c7df755
...
...
@@ -181,10 +181,7 @@ 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_flush_all
();
(
void
)
D
;
}
compute/pzgemm.c
View file @
8c7df755
...
...
@@ -134,19 +134,17 @@ void morse_pzgemm(MORSE_enum transA, MORSE_enum transB,
}
}
}
MORSE_TASK_flush_data
(
&
options
,
C
(
m
,
n
)
);
RUNTIME_data_flush
(
sequence
,
C
(
m
,
n
)
);
}
if
(
transA
==
MorseNoTrans
)
{
for
(
k
=
0
;
k
<
A
->
nt
;
k
++
)
{
MORSE_TASK_flush_data
(
&
options
,
A
(
m
,
k
)
);
RUNTIME_data_flush
(
sequence
,
A
(
m
,
k
)
);
}
}
else
{
for
(
k
=
0
;
k
<
A
->
mt
;
k
++
)
{
MORSE_TASK_flush_data
(
&
options
,
A
(
k
,
m
)
);
RUNTIME_data_flush
(
sequence
,
A
(
k
,
m
)
);
}
}
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
B
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_flush_all
();
}
compute/pzgeqrf.c
View file @
8c7df755
...
...
@@ -147,10 +147,7 @@ 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_flush_all
();
(
void
)
D
;
}
compute/pzgeqrf_param.c
View file @
8c7df755
...
...
@@ -195,12 +195,8 @@ 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_flush_all
();
(
void
)
D
;
}
compute/pzgeqrfrh.c
View file @
8c7df755
...
...
@@ -180,10 +180,7 @@ 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_flush_all
();
(
void
)
D
;
}
compute/pzgetrf_incpiv.c
View file @
8c7df755
...
...
@@ -136,11 +136,8 @@ 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_flush_all
();
morse_desc_mat_free
(
DIAG
);
free
(
DIAG
);
...
...
compute/pzgetrf_nopiv.c
View file @
8c7df755
...
...
@@ -104,7 +104,5 @@ 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_flush_all
();
}
compute/pzhemm.c
View file @
8c7df755
...
...
@@ -226,9 +226,5 @@ 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_flush_all
();
}
compute/pzher2k.c
View file @
8c7df755
...
...
@@ -214,9 +214,5 @@ 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_flush_all
();
}
compute/pzherk.c
View file @
8c7df755
...
...
@@ -173,7 +173,5 @@ 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
);
}
compute/pzhetrd_he2hb.c
View file @
8c7df755
...
...
@@ -436,10 +436,8 @@ void morse_pzhetrd_he2hb(MORSE_enum uplo,
}
MORSE_TASK_flush_desc
(
&
options
,
MorseUpperLower
,
A
);
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_flush_all
();
MORSE_Sequence_Wait
(
sequence
);
morse_desc_mat_free
(
D
);
...
...
compute/pzlacpy.c
View file @
8c7df755
...
...
@@ -129,7 +129,5 @@ 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
);
}
compute/pzlag2c.c
View file @
8c7df755
...
...
@@ -67,7 +67,5 @@ 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
);
}
compute/pzlange.c
View file @
8c7df755
...
...
@@ -412,5 +412,4 @@ 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_flush_all
();
}
compute/pzlanhe.c
View file @
8c7df755
...
...
@@ -456,5 +456,4 @@ 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_flush_all
();
}
compute/pzlansy.c
View file @
8c7df755
...
...
@@ -465,5 +465,4 @@ 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_flush_all
();
}
compute/pzlantr.c
View file @
8c7df755
...
...
@@ -665,5 +665,4 @@ void morse_pzlantr(MORSE_enum norm, MORSE_enum uplo, MORSE_enum diag,
}
RUNTIME_options_ws_free
(
&
options
);
RUNTIME_options_finalize
(
&
options
,
morse
);
MORSE_TASK_flush_all
();
}
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment