Opened 4 years ago

Last modified 3 years ago

#807 new defect

Failing sasmodels unit tests on Intel(R) Iris(TM) Graphics 6100

Reported by: wojciech Owned by:
Priority: major Milestone: sasmodels 1.0
Component: sasmodels Keywords:
Cc: Work Package: SasView Bug Fixing

Description

Three sasmodels unit tests are failing on my hardware: Intel® Iris™ Graphics 6100 Mac OSX 10.11. They work fine on CPU when compiled both with dll and opencl. I am running tests from sasmodels dir:
python -m sasmodels.model_test all

======================================================================
FAIL [0.016s]: test_core_shell_cylinder_opencl (main.ModelTestCase?)


Traceback (most recent call last):

File "/Users/wojciechpotrzebowski/SASVIEW_WORKSPACE/sasmodels/sasmodels/model_test.py", line 181, in run_all

self.run_one(model, test)

File "/Users/wojciechpotrzebowski/SASVIEW_WORKSPACE/sasmodels/sasmodels/model_test.py", line 229, in run_one

'invalid f(%s): %s' % (xi, actual_yi))

AssertionError?: invalid f((0.1, 0.1)): nan Model: core_shell_cylinder, Kernel: OpenCL

======================================================================
FAIL [0.061s]: test_parallelepiped_opencl (main.ModelTestCase?)


Traceback (most recent call last):

File "/Users/wojciechpotrzebowski/SASVIEW_WORKSPACE/sasmodels/sasmodels/model_test.py", line 181, in run_all

self.run_one(model, test)

File "/Users/wojciechpotrzebowski/SASVIEW_WORKSPACE/sasmodels/sasmodels/model_test.py", line 239, in run_one

% (xi, yi, actual_yi))

AssertionError?: f((-0.16022872310938674, 0.11969442882079129)); expected:0.00560296014; actual:0.001 Model: parallelepiped, Kernel: OpenCL

======================================================================
FAIL [0.014s]: test_raspberry_opencl (main.ModelTestCase?)


Traceback (most recent call last):

File "/Users/wojciechpotrzebowski/SASVIEW_WORKSPACE/sasmodels/sasmodels/model_test.py", line 181, in run_all

self.run_one(model, test)

File "/Users/wojciechpotrzebowski/SASVIEW_WORKSPACE/sasmodels/sasmodels/model_test.py", line 229, in run_one

'invalid f(%s): %s' % (xi, actual_yi))

AssertionError?: invalid f(0.1): nan Model: raspberry, Kernel: OpenCL


Change History (3)

comment:1 Changed 4 years ago by wojciech

  • Component changed from SasView to sasmodels
  • Milestone changed from SasView 4.1.0 to sasmodels 1.0

comment:2 Changed 4 years ago by wojciech

These tests fails on single precision. single=False makes them pass but this is not what we want.

comment:3 Changed 3 years ago by pkienzle

This might be fixed with updated drivers from Intel. Tests which were failing on an Intel HD 630 are passing after installing the latest driver on linux (r5.0.63503).

Note: See TracTickets for help on using tickets.