Displaying 2 results from an estimated 2 matches for "abstolerance".
2016 Oct 14
3
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
...ntract=on
>> > -Ofast -ffp-contract=off
>>
>> Let's separate completely FP-contract and fast-math. They're
>> different
>> things and need different solutions.
>>
>>
>> > if(TEST_SUITE_USES_FAST_MATH)
>> > add_definitions(-DFP_ABSTOLERANCE=1e0)
>> > else()
>> > add_definitions(-DFP_ABSTOLERANCE=1e-5)
>> > endif()
>>
>> This doesn't make sense. If my program decreased precision by 5
>> orders
>> of magnitude with -ffast-math, I'd be *very* worried.
>
> Is this an absol...
2016 Oct 14
2
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
...t; -O0 -ffp-contract=on
>
> They are not passing at:
> -Ofast -ffp-contract=on
> -Ofast -ffp-contract=off
Let's separate completely FP-contract and fast-math. They're different
things and need different solutions.
> if(TEST_SUITE_USES_FAST_MATH)
> add_definitions(-DFP_ABSTOLERANCE=1e0)
> else()
> add_definitions(-DFP_ABSTOLERANCE=1e-5)
> endif()
This doesn't make sense. If my program decreased precision by 5 orders
of magnitude with -ffast-math, I'd be *very* worried.
I hope that fast-math in Clang isn't that broken, so that's probably
to do with...