diff --git a/ttg/ttg/parsec/ttg.h b/ttg/ttg/parsec/ttg.h index 639ab7f7c..009af8fc2 100644 --- a/ttg/ttg/parsec/ttg.h +++ b/ttg/ttg/parsec/ttg.h @@ -1444,7 +1444,7 @@ namespace ttg_parsec { if (gpu_task->flow[i]->flow_flags & TTG_PARSEC_FLOW_ACCESS_TMP) { /* temporary flow, discard by setting it to read-only to avoid evictions */ const_cast(gpu_task->flow[i])->flow_flags = PARSEC_FLOW_ACCESS_READ; - task->parsec_task.data.data_out[i]->readers = 1; + task->parsec_task.data[i].data_out->readers = 1; } } };