Commit 3e7b6723 authored by Mathieu Faverge's avatar Mathieu Faverge

Merge branch 'fix' into 'master'

Fix iscached for not-yet-registered data

See merge request !40
parents c3b46563 eb76932b
......@@ -47,6 +47,9 @@ int RUNTIME_desc_iscached(const MORSE_desc_t *A, int Am, int An)
starpu_data_handle_t *ptrtile = (starpu_data_handle_t*)(A->schedopt);
ptrtile += ((int64_t)(A->lmt) * (int64_t)An + (int64_t)Am);
if (!(*ptrtile))
return 0;
return starpu_mpi_cached_receive(*ptrtile);
}
#endif
......
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