Commit 747ea54a authored by Mathieu Faverge's avatar Mathieu Faverge

Fix compilation with parsec

parent eb14441f
......@@ -29,7 +29,7 @@ int RUNTIME_sequence_create( CHAM_context_t *chamctxt,
parsec_context_t *parsec = (parsec_context_t *)(chamctxt->schedopt);
parsec_taskpool_t *parsec_dtd_tp = parsec_dtd_taskpool_new();
parsec_enqueue( parsec, (parsec_taskpool_t *)parsec_dtd_tp );
parsec_context_add_taskpool( parsec, (parsec_taskpool_t *)parsec_dtd_tp );
sequence->schedopt = parsec_dtd_tp;
parsec_context_start(parsec);
......@@ -47,7 +47,6 @@ int RUNTIME_sequence_destroy( CHAM_context_t *chamctxt,
parsec_taskpool_t *parsec_dtd_tp = (parsec_taskpool_t *)(sequence->schedopt);
assert( parsec_dtd_tp );
parsec_dtd_taskpool_wait( parsec, parsec_dtd_tp );
parsec_taskpool_free( parsec_dtd_tp );
sequence->schedopt = NULL;
......
......@@ -225,7 +225,7 @@ void RUNTIME_desc_create( CHAM_desc_t *mdesc )
data_collection->data_of_key = chameleon_parsec_data_of_key;
data_collection->vpid_of = chameleon_parsec_vpid_of;
data_collection->vpid_of_key = chameleon_parsec_vpid_of_key;
#if defined(parsec_PROF_TRACE)
#if defined(PARSEC_PROF_TRACE)
{
int rc;
data_collection->key_to_string = chameleon_parsec_key_to_string;
......@@ -356,7 +356,7 @@ void RUNTIME_flush()
{
}
void RUNTIME_desc_flush( const CHAM_desc_t *desc,
void RUNTIME_desc_flush( const CHAM_desc_t *desc,
const RUNTIME_sequence_t *sequence )
{
parsec_taskpool_t* PARSEC_dtd_taskpool = (parsec_taskpool_t *)(sequence->schedopt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment