Skip to content

Commit 7a5f9da

Browse files
committed
Hotfix: set last_data_check_epoch to not deadlock
With ICLDisco/parsec#694 PaRSEC will have a proper initializer for gpu task structures but until then we need to properly initialize this field to something non-zero. Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
1 parent 29af994 commit 7a5f9da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ttg/ttg/parsec/ttg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ namespace ttg_parsec {
14931493
PARSEC_OBJ_CONSTRUCT(gpu_task, parsec_list_item_t);
14941494
gpu_task->ec = parsec_task;
14951495
gpu_task->task_type = 0; // user task
1496-
gpu_task->last_data_check_epoch = 0; // used internally
1496+
gpu_task->last_data_check_epoch = (uint64_t)-1; // used internally
14971497
gpu_task->pushout = 0;
14981498
gpu_task->submit = &TT::device_static_submit;
14991499

0 commit comments

Comments
 (0)