OSDN Git Service

[OpenMP] Use common interface to access GPU Grid Values
authorSaiyedul Islam <Saiyedul.Islam@amd.com>
Tue, 21 Jul 2020 05:23:38 +0000 (05:23 +0000)
committerSaiyedul Islam <Saiyedul.Islam@amd.com>
Tue, 21 Jul 2020 05:25:46 +0000 (05:25 +0000)
commitfc7d2908ab38e1934b3b6a8ab3ec5c674484434b
treeb53ae308aeabb29f928b1045a254fd275a7d2896
parenta58a8c017015a54b53baa5da65dad445e2f9ad2b
[OpenMP] Use common interface to access GPU Grid Values

Use common interface for accessing target specific GPU grid values in NVPTX
OpenMP codegen as proposed in https://reviews.llvm.org/D80917

Originally authored by Greg Rodgers (@gregrodgers).

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D83492
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp