Mentions légales du service

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

Backport assert and unregistration fix from recursive branch

parent acc7fd61
No related branches found
No related tags found
1 merge request!287Backport assert and unregistration fix from recursive branch
......@@ -240,7 +240,7 @@ void RUNTIME_desc_destroy( CHAM_desc_t *desc )
for (m = 0; m < lmt; m++)
{
if ( *handle != NULL ) {
starpu_data_unregister_submit(*handle);
starpu_data_unregister(*handle);
*handle = NULL;
}
handle++;
......
......@@ -299,7 +299,7 @@ cti_alloc_compare(void *data_interface_a, void *data_interface_b)
starpu_cham_tile_interface_t *cham_tile_b = (starpu_cham_tile_interface_t *) data_interface_b;
/* Two matrices are considered compatible if they have the same allocated size */
return ( cham_tile_a->allocsize == cham_tile_b->allocsize );
return ( cham_tile_a->allocsize == cham_tile_b->allocsize );
}
static void
......@@ -585,6 +585,9 @@ static int cti_copy_any_to_any( void *src_interface, unsigned src_node,
assert( ld_src >= m );
assert( ld_dst >= m );
assert( m == cham_tile_dst->tile.m );
assert( n == cham_tile_dst->tile.n );
#if defined(CHAMELEON_KERNELS_TRACE)
fprintf( stderr,
"[ANY->ANY] src(%s, type:%s, m=%d, n=%d, ld=%d, ptr:%p) dest(%s, type:%s, m=%d, n=%d, ld=%d, ptr:%p)\n",
......
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