[PATCH] D20493: [CUDA] Add -fcuda-approx-transcendentals flag.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Fri May 20 14:22:59 PDT 2016


jlebar created this revision.
jlebar added a reviewer: rnk.
jlebar added subscribers: cfe-commits, tra.

This lets us emit e.g. sin.approx.f32.  See
http://docs.nvidia.com/cuda/parallel-thread-execution/#floating-point-instructions-sin

http://reviews.llvm.org/D20493

Files:
  include/clang/Basic/LangOptions.def
  include/clang/Driver/Options.td
  lib/Driver/ToolChains.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Frontend/InitPreprocessor.cpp
  lib/Headers/__clang_cuda_runtime_wrapper.h
  test/Preprocessor/cuda-approx-transcendentals.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20493.57990.patch
Type: text/x-patch
Size: 5412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160520/b4e153b6/attachment.bin>


More information about the cfe-commits mailing list