[Pkg-opencl-devel] Bug#769293: beignet: upgrade or OCL_STRICT_CONFORMANCE change requires reboot
Rebecca N. Palmer
rebecca_palmer at zoho.com
Wed Nov 12 16:30:49 UTC 2014
> Don't quite understand this issue. How do you set the OCL_STRICT_CONFORMANCE?
This is Debian's beignet 0.9.3~dfsg-1 (current unstable)
and accuracy_speed_test.py from
https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=19;filename=accuracy_speed_test.py;att=4;bug=768090
rnpalmer at rnpalmer-laptop:~$ python3 ~/Debian/OpenCL/accuracy_speed_test.py
[...]
cos abs avg err: 1.72732e-05 max err: 6.10352e-05 rel avg err: 2.02569e-05 max err: 6.10352e-05 time: 0.07409429550170898
[...]
rnpalmer at rnpalmer-laptop:~$ export OCL_STRICT_CONFORMANCE=1
rnpalmer at rnpalmer-laptop:~$ python3 ~/Debian/OpenCL/accuracy_speed_test.py
[...]
cos abs avg err: 1.73168e-05 max err: 6.10352e-05 rel avg err: 2.03032e-05 max err: 6.10352e-05 time: 0.0025167465209960938
[...]
[reboot]
rnpalmer at rnpalmer-laptop:~$ export OCL_STRICT_CONFORMANCE=1
rnpalmer at rnpalmer-laptop:~$ python3 ~/Debian/OpenCL/accuracy_speed_test.py
[...]
cos abs avg err: 8.86387e-09 max err: 5.96046e-08 rel avg err: 1.34084e-08 max err: 1.19209e-07 time: 0.26009368896484375
[...]
rnpalmer at rnpalmer-laptop:~$ export OCL_STRICT_CONFORMANCE=0
rnpalmer at rnpalmer-laptop:~$ python3 ~/Debian/OpenCL/accuracy_speed_test.py
[...]
cos abs avg err: 8.80688e-09 max err: 5.96046e-08 rel avg err: 1.3329e-08 max err: 1.19209e-07 time: 0.0033447742462158203
[...]
The bug also occurs with
$env OCL_STRICT_CONFORMANCE=1 python3 ~/Debian/OpenCL/accuracy_speed_test.py
More information about the Pkg-opencl-devel
mailing list