Page MenuHomePhabricator

[OpenMP][FIX] Do not dereference a potential nullptr
ClosedPublic

Authored by jdoerfert on Oct 16 2021, 12:21 PM.

Details

Summary

The first thread state in the new GPU runtime doesn't have a previous
one and we should not dereference the nullptr placeholder.

Diff Detail

Event Timeline

jdoerfert created this revision.Oct 16 2021, 12:21 PM
jdoerfert requested review of this revision.Oct 16 2021, 12:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 16 2021, 12:21 PM
Herald added a subscriber: sstefan1. · View Herald Transcript
tianshilei1992 accepted this revision.Oct 16 2021, 12:24 PM
This revision is now accepted and ready to land.Oct 16 2021, 12:24 PM
This revision was automatically updated to reflect the committed changes.