This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX] Added intrinsics for atom.gen.{sys|cta}.* instructions.
ClosedPublic

Authored by tra on Sep 26 2016, 4:11 PM.

Details

Summary

sm_6x GPUs add atomic operations that explicitly specify set of threads that observe operation as atomic.
This patch implements these instructions along with matching intrinsics.

Diff Detail

Repository
rL LLVM

Event Timeline

tra updated this revision to Diff 72580.Sep 26 2016, 4:11 PM
tra retitled this revision from to [NVPTX] Added intrinsics for atom.gen.{sys|cta}.* instructions..
tra updated this object.
tra added reviewers: jlebar, jholewinski.
tra added a subscriber: llvm-commits.
tra updated this revision to Diff 72583.Sep 26 2016, 4:36 PM

Rephrased comments. Fixed whitespaces.

jlebar accepted this revision.Sep 27 2016, 2:07 PM
jlebar edited edge metadata.

Yay, this is great.

lib/Target/NVPTX/NVPTXIntrinsics.td
1408 ↗(On Diff #72583)

Extra )

This revision is now accepted and ready to land.Sep 27 2016, 2:07 PM
This revision was automatically updated to reflect the committed changes.