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
solverstack
mini-examples
starpu_example_dgemm
Commits
45797b6b
Commit
45797b6b
authored
Dec 04, 2021
by
Antoine Jego
Browse files
add verbose to test
parent
5a923060
Changes
1
Hide whitespace changes
Inline
Side-by-side
starpu_example_dgemm.c
View file @
45797b6b
...
...
@@ -644,18 +644,18 @@ int main(int argc, char *argv[])
}
struct
cl_zgemm_args_s
*
clargs
=
NULL
;
if
(
c_local
)
{
//
printf("[%d] executing %d,%d (l:%d)\n",comm_rank,b_row,b_col,b_aisle);
if
(
verbose
)
printf
(
"[%d] executing %d,%d (l:%d)
\n
"
,
comm_rank
,
b_row
,
b_col
,
b_aisle
);
clargs
=
malloc
(
sizeof
(
struct
cl_zgemm_args_s
));
clargs
->
alpha
=
alpha
;
clargs
->
beta
=
b_aisle
==
0
?
beta
:
1
.
0
;
}
else
{
//
printf("[%d] inserting %d,%d (l:%d)\n",comm_rank,b_row,b_col,b_aisle);
}
else
if
(
verbose
)
{
printf
(
"[%d] inserting %d,%d (l:%d)
\n
"
,
comm_rank
,
b_row
,
b_col
,
b_aisle
);
}
/*
printf("[%d] C_%d,%d (%d-%p-%d) += A_%d,%d (%d-%p-%d) B_%d,%d (%d-%p-%d)\n", comm_rank,
if
(
verbose
)
printf
(
"[%d] C_%d,%d (%d-%p-%d) += A_%d,%d (%d-%p-%d) B_%d,%d (%d-%p-%d)
\n
"
,
comm_rank
,
b_row
,
b_col
,
Cij
->
registered
,
Cij
->
hdl
,
Cij
->
owner
,
b_row
,
b_aisle
,
Ail
->
registered
,
Ail
->
hdl
,
Ail
->
owner
,
b_aisle
,
b_col
,
Blj
->
registered
,
Blj
->
hdl
,
Blj
->
owner
);
*/
starpu_mpi_task_insert
(
MPI_COMM_WORLD
,
&
gemm_cl
,
starpu_mpi_task_insert
(
MPI_COMM_WORLD
,
&
gemm_cl
,
STARPU_CL_ARGS
,
clargs
,
sizeof
(
struct
cl_zgemm_args_s
),
STARPU_R
,
*
Ail
->
hdl
,
STARPU_R
,
*
Blj
->
hdl
,
...
...
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