In the trace output in line 341, the argument placement of variables 'head' and 'tail' were inverted.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Good catch!
Could you also move the KA_TRACE statement above the __kmp_release_bootstrap_lock(). Because currently the printed data may not be related to the pushed task if some other task is pushed between lock releasing and the print itself. Having the print inside critical section would guarantee the relevant data printed.
Thanks, Andrey