Commit 6d01ba25 authored by THIBAULT Samuel's avatar THIBAULT Samuel

Fix iscached for not-yet-registered data

parent 7f1a8fdb
......@@ -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);
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