[parsec-users] Blackscholes TBB Version: err_chk uses wrong tolerance

Christian Jülg c.juelg at googlemail.com
Tue Dec 6 18:30:35 EST 2011


as I noticed here

The error treshold for "err_chk" in blackscholes has been changed from
"1e-5" to "1e-4" in Parsec 2 or 2.1.

Yet the TBB version of the blackscholes benchmark still uses the old
treshold which leads to errors on large datasets using "float".

In the attachment is a patch that fixes the tolerance, bringing it in line
with the other blackscholes variants.

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20111207/894bc1b3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blackscholes.tbb.cpp.tolerance.patch
Type: text/x-patch
Size: 457 bytes
Desc: not available
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20111207/894bc1b3/attachment.bin>

More information about the parsec-users mailing list