Skip to content

Commit

Permalink
Fix typo in discard_tmp_flows
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Oct 23, 2024
1 parent ec0f9c8 commit b1f1e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttg/ttg/parsec/ttg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<parsec_flow_t*>(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;
}
}
};
Expand Down

0 comments on commit b1f1e2c

Please sign in to comment.