[Beignet] [BUG] built-in function acos/asin conformance test fail

Sun, Yi yi.sun at intel.com
Mon Aug 5 08:26:45 PDT 2013


AT least acos and asin can fail with following 3 values.
Attachments are the test cases for acos/asin in utests.

acos(-30.0):  gpu:-978164864.000000  cpu:nan
asin(-30.0):  gpu:978164864.000000  cpu:nan

acos(-1.0):       gpu:2.284487  cpu:3.141593
asin(-1.0):         gpu:-0.713690  cpu:-1.570796

acos(1):             gpu:0.284487  cpu:0.000000
asin(1):              gpu:1.286309  cpu:1.570796

Thanks
  --Sun, Yi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20130805/3f3b2a84/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: builtin_acos_asin.cl
Type: application/octet-stream
Size: 339 bytes
Desc: builtin_acos_asin.cl
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20130805/3f3b2a84/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: builtin_acos_asin.cpp
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20130805/3f3b2a84/attachment-0001.ksh>


More information about the Beignet mailing list