This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP, NVPTX] Fix loop boundaries calculation for dynamic loops.
ClosedPublic

Authored by ABataev on Jul 12 2018, 8:11 AM.

Details

Summary

Patch fixes the next problems.

  1. Removes unused functions from omptarget_nvptx_ThreadPrivateContext

class + simplified data members.

  1. Fixed calculation of loop boundaries for dynamic loops with static

scheduling.

  1. Introduced saving/restoring of the dynamic loop boundaries to support

several nested parallel dynamic loops.

Event Timeline

ABataev created this revision.Jul 12 2018, 8:11 AM
gtbercea accepted this revision.Jul 12 2018, 8:22 AM
gtbercea added a subscriber: gtbercea.

LG

This revision is now accepted and ready to land.Jul 12 2018, 8:22 AM
This revision was automatically updated to reflect the committed changes.