[PATCH] D20494: [CUDA] Add section to docs about controlling fp optimizations.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 15:13:31 PDT 2016


tra added inline comments.

================
Comment at: docs/CompileCudaWithLLVM.rst:160
@@ +159,3 @@
+
+* ``-ffp-contract={on,off,fast}`` (default to ``fast`` for CUDA device code)
+  Controls whether the compiler emits fused multiply-add operations.
----------------
It's actually for both host and device. The idea was to keep host & device behavior as close to each other as we can.


http://reviews.llvm.org/D20494





More information about the llvm-commits mailing list