================
Comment at: test/SemaCUDA/function-target-hd.cu:3
@@ +2,3 @@
+// RUN: %clang_cc1 -fsyntax-only -fcuda-is-device -verify %s
+// RUN: %clang_cc1 -fsyntax-only -fcuda-allow-host-calls-from-host-device 
-verify %s -DTEST_WARN_HD
+// RUN: %clang_cc1 -fsyntax-only -fcuda-is-device 
-fcuda-allow-host-calls-from-host-device -verify %s -DTEST_WARN_HD
----------------
Much better thanks. Just a small nit: add a comment that explains the various 
permutations of CUDA_ARCH and TEST_WARN_HD to make this test file more readable 
a year from now

http://reviews.llvm.org/D7841

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to