Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 67a311c6 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

starpu: initialize need_submit with need_exec to siplify the test

parent 2826b3f6
No related branches found
No related tags found
1 merge request!527Small updates on the StarPU code
...@@ -347,7 +347,7 @@ starpu_cham_exchange_data_before_execution( const RUNTIME_option_t ...@@ -347,7 +347,7 @@ starpu_cham_exchange_data_before_execution( const RUNTIME_option_t
int An, int An,
enum starpu_data_access_mode mode ) enum starpu_data_access_mode mode )
{ {
unsigned need_submit = 0; unsigned need_submit = params.do_execute;
starpu_data_handle_t *ptrtile = chameleon_starpu_data_gethandle( A, Am, An ); starpu_data_handle_t *ptrtile = chameleon_starpu_data_gethandle( A, Am, An );
/* /*
...@@ -369,7 +369,7 @@ starpu_cham_exchange_data_before_execution( const RUNTIME_option_t ...@@ -369,7 +369,7 @@ starpu_cham_exchange_data_before_execution( const RUNTIME_option_t
need_submit = 1; need_submit = 1;
} }
if ( !need_submit && !params->do_execute ) { if ( !need_submit ) {
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment