This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Add -fcuda-approx-transcendentals flag.
ClosedPublic

Authored by jlebar on May 20 2016, 2:22 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 57990.May 20 2016, 2:22 PM
jlebar retitled this revision from to [CUDA] Add -fcuda-approx-transcendentals flag..
jlebar updated this object.
jlebar added a reviewer: rnk.
jlebar added subscribers: cfe-commits, tra.
jlebar updated this revision to Diff 58123.May 23 2016, 11:27 AM

More tightly scope the USE_FAST_MATH macro.

tra pointed out that device_functions.hpp uses USE_FAST_MATH for its own
purposes. For this CL, we only want to define USE_FAST_MATH around
math_functions.hpp.

This revision was automatically updated to reflect the committed changes.