Page MenuHomePhabricator

[OpenMP][libomptarget] Fix master warp check
ClosedPublic

Authored by gtbercea on Mar 15 2018, 1:19 PM.

Details

Summary

The check for the master warp must take into consideration the actual number of warps: the master warp is equal to the last active warp not necessarily WARPSIZE - 1.

Diff Detail

Repository
rOMP OpenMP

Event Timeline

gtbercea created this revision.Mar 15 2018, 1:19 PM
grokos accepted this revision.Mar 15 2018, 1:30 PM

Looks good.

This revision is now accepted and ready to land.Mar 15 2018, 1:30 PM
gtbercea updated this revision to Diff 138617.Mar 15 2018, 1:37 PM
gtbercea retitled this revision from [OpenMP][libomptarget] Fix master warp check to [OpenMP][libomptarget] Fix master warp check.

Insert guards in init function.

gtbercea updated this revision to Diff 138618.Mar 15 2018, 1:45 PM

Adjust comments.

Closed by commit rOMP328146: [OpenMP][libomptarget] Fix master warp check (authored by gbercea, committed by ). · Explain WhyMar 21 2018, 1:53 PM
This revision was automatically updated to reflect the committed changes.