[Openmp-commits] [PATCH] D142247: Fix initialization of th_task_state on each thread on expanding hot teams.

Roger Ferrer Ibanez via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 9 01:03:57 PST 2023


rogfer01 added a comment.

Hi @tlwilmar could you elaborate a bit on this part as it is very unobvious at first

> However, other threads in the team are guaranteed to have the right values, so we change the initialize the new threads' th_task_state from the th_task_state of the last of the older threads in the hot team.

Thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142247/new/

https://reviews.llvm.org/D142247



More information about the Openmp-commits mailing list