Skip to content

Commit

Permalink
Properly construct parsec task object
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Apr 12, 2024
1 parent 80c9870 commit ae6950f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ttg/ttg/parsec/task.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ namespace ttg_parsec {
, copies(copies)
, release_task_cb(release_fn)
, defer_writer(defer_writer) {
PARSEC_OBJ_CONSTRUCT(&parsec_task, parsec_task_t);
PARSEC_LIST_ITEM_SINGLETON(&parsec_task.super);
parsec_task.mempool_owner = mempool;
parsec_task.task_class = task_class;
Expand Down

0 comments on commit ae6950f

Please sign in to comment.