Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Malleable_CG
Commits
652a9757
Commit
652a9757
authored
Oct 13, 2023
by
Iker Martín Álvarez
Browse files
Added Analyser. Minor fix in time recording.
parent
2f4cf4c9
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Exec/CG_Analyser.ipynb
0 → 100644
View file @
652a9757
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
malleability/malleabilityManager.c
View file @
652a9757
...
@@ -525,7 +525,6 @@ void Children_init() {
...
@@ -525,7 +525,6 @@ void Children_init() {
comm_data_info
(
rep_s_data
,
dist_s_data
,
MALLEABILITY_CHILDREN
,
mall
->
myId
,
root_parents
,
mall
->
intercomm
);
comm_data_info
(
rep_s_data
,
dist_s_data
,
MALLEABILITY_CHILDREN
,
mall
->
myId
,
root_parents
,
mall
->
intercomm
);
if
(
dist_s_data
->
entries
||
rep_s_data
->
entries
)
{
// Recibir datos sincronos
if
(
dist_s_data
->
entries
||
rep_s_data
->
entries
)
{
// Recibir datos sincronos
recv_data
(
numP_parents
,
dist_s_data
,
MALLEABILITY_USE_SYNCHRONOUS
);
recv_data
(
numP_parents
,
dist_s_data
,
MALLEABILITY_USE_SYNCHRONOUS
);
mall_conf
->
sync_end
=
MPI_Wtime
();
// Obtener timestamp de cuando termina comm sincrona
// TODO Crear funcion especifica y anyadir para Asinc
// TODO Crear funcion especifica y anyadir para Asinc
// TODO Tener en cuenta el tipo y qty
// TODO Tener en cuenta el tipo y qty
...
@@ -543,6 +542,7 @@ void Children_init() {
...
@@ -543,6 +542,7 @@ void Children_init() {
}
}
MPI_Bcast
(
rep_s_data
->
arrays
[
i
],
rep_s_data
->
qty
[
i
],
datatype
,
root_parents
,
mall
->
intercomm
);
MPI_Bcast
(
rep_s_data
->
arrays
[
i
],
rep_s_data
->
qty
[
i
],
datatype
,
root_parents
,
mall
->
intercomm
);
}
}
mall_conf
->
sync_end
=
MPI_Wtime
();
// Obtener timestamp de cuando termina comm sincrona
}
}
mall_conf
->
malleability_end
=
MPI_Wtime
();
// Obtener timestamp de cuando termina maleabilidad
mall_conf
->
malleability_end
=
MPI_Wtime
();
// Obtener timestamp de cuando termina maleabilidad
...
...
Write
Preview
Supports
Markdown
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