Mentions légales du service

Skip to content
Snippets Groups Projects

Notify StarPU of which data is not OOC, to avoid evicting it to the disk

Merged THIBAULT Samuel requested to merge thibault/chameleon:ooc-handle into master
2 files
+ 6
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -470,12 +470,13 @@ void *RUNTIME_data_getaddr( const CHAM_desc_t *A, int m, int n )
@@ -470,12 +470,13 @@ void *RUNTIME_data_getaddr( const CHAM_desc_t *A, int m, int n )
BLKLDD(A, m),
BLKLDD(A, m),
tempmm, tempnn, eltsze );
tempmm, tempnn, eltsze );
#ifdef HAVE_STARPU_DATA_SET_OOC_FLAG
#if defined(HAVE_STARPU_DATA_SET_OOC_FLAG)
if (A->ooc == 0)
if ( A->ooc == 0 ) {
starpu_data_set_ooc_flag(*ptrtile, 0);
starpu_data_set_ooc_flag( *ptrtile, 0 );
 
}
#endif
#endif
#ifdef HAVE_STARPU_DATA_SET_COORDINATES
#if defined(HAVE_STARPU_DATA_SET_COORDINATES)
starpu_data_set_coordinates( *ptrtile, 2, m, n );
starpu_data_set_coordinates( *ptrtile, 2, m, n );
#endif
#endif
Loading