This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][NVPTX] Replaced CUDA builtin vars with LLVM intrinsics
ClosedPublic

Authored by tianshilei1992 on Jan 19 2021, 6:21 PM.

Details

Summary

Replaced CUDA builtin vars with LLVM intrinsics such that we don't need
definitions of those intrinsics.

Diff Detail

Event Timeline

tianshilei1992 created this revision.Jan 19 2021, 6:21 PM
tianshilei1992 requested review of this revision.Jan 19 2021, 6:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2021, 6:21 PM

Fixed clang-format

Harbormaster completed remote builds in B85810: Diff 317746.
JonChesterfield accepted this revision.Jan 20 2021, 2:53 AM

Nice. Particularly like getting rid of these because they use field access syntax to make a function call, which clang does with a Microsoft extension.

This revision is now accepted and ready to land.Jan 20 2021, 2:53 AM