[PATCH] D11505: [NVPTX] convert pointers in byval kernel arguments to global
Justin Holewinski
jholewinski at nvidia.com
Fri Jul 31 13:03:11 PDT 2015
jholewinski accepted this revision.
jholewinski added a comment.
This revision is now accepted and ready to land.
Looks reasonable to me, with the minor comment.
Thanks!
================
Comment at: lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp:210
@@ +209,3 @@
+ // LI is a load from a pointer within a byval kernel parameter.
+ markPointerAsGlobal(LI);
+ }
----------------
Can you enable this for CUDA only?
http://reviews.llvm.org/D11505
More information about the llvm-commits
mailing list