[PATCH] D17979: [OPENMP] Add regression test for codegen of distribute pragma for NVPTX

Carlo Bertolli via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 8 20:08:57 PST 2016


carlo.bertolli created this revision.
carlo.bertolli added reviewers: ABataev, fraggamuffin, kkwli0.
carlo.bertolli added subscribers: sfantao, arpith-jacob, caomhin, cfe-commits.
carlo.bertolli set the repository for this revision to rL LLVM.

The support for distribute pragma is the same on host and NVPTX. However, the generated code looks different from a interface perspective (e.g. parameters to offloading function have different type on host and NVPTX). I added a regression test that checks for the distinct NVPTX generated code.

Repository:
  rL LLVM

http://reviews.llvm.org/D17979

Files:
  test/OpenMP/nvptx_distribute_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17979.50101.patch
Type: text/x-patch
Size: 10811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160309/47606226/attachment.bin>


More information about the cfe-commits mailing list