Mentions légales du service

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

Disable dataflush in Parsec to avoid freeing a data before it's fully used in the sequence

parent 95826f37
No related branches found
No related tags found
1 merge request!72PaRSEC DTD Interface
......@@ -332,9 +332,16 @@ void RUNTIME_desc_flush( const MORSE_desc_t *desc,
void RUNTIME_data_flush( const MORSE_sequence_t *sequence,
const MORSE_desc_t *A, int Am, int An )
{
parsec_taskpool_t* PARSEC_dtd_taskpool = (parsec_taskpool_t *)(sequence->schedopt);
parsec_dtd_data_flush( PARSEC_dtd_taskpool, RTBLKADDR( A, MORSE_Complex64_t, Am, An ) );
/*
* For now, we do nothing in this function as in PaRSEC, once the data is
* flushed it cannot be reused in the same sequence, when this issue will be
* fixed, we will uncomment this function
*/
/* parsec_taskpool_t* PARSEC_dtd_taskpool = (parsec_taskpool_t *)(sequence->schedopt); */
/* parsec_dtd_data_flush( PARSEC_dtd_taskpool, RTBLKADDR( A, MORSE_Complex64_t, Am, An ) ); */
(void)sequence; (void)A; (void)Am; (void)An;
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