[PATCH] D18671: [CUDA] Add --cuda-flush-denormals-to-zero.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 31 16:47:49 PDT 2016


jlebar added inline comments.

================
Comment at: lib/Frontend/CompilerInvocation.cpp:1567
@@ +1566,3 @@
+  if (Opts.CUDAIsDevice && Args.hasArg(OPT_fcuda_flush_denormals_to_zero))
+    Opts.CUDADeviceFlushDenormalsToZero = 1;
+
----------------
Aha, I knew there had to be a better way to do that.  Thanks.


http://reviews.llvm.org/D18671





More information about the cfe-commits mailing list