CLBlast: Unit tests and tuners segfault on Linux/Beignet with a Haswell GT2 GPU

I tried to run the test and they all fail the same way. They perform all sub-tests without errors, they report 100% pass rate then segfault:

CLBlast/build $ ./clblast_test_xswap -verbose true

* Options given/available:
    -platform 0 [=default]
    -device 0 [=default]
    -full_test [false]
    -verbose [true]
    -clblas 1 [=default]
    -cblas 0 [=default]

* Running on OpenCL device 'Intel(R) HD Graphics Haswell Ultrabook GT2 Mobile'.
* Starting tests for the 'SSWAP' routine. Legend:
   : -> Test produced correct results
   . -> Test returned the correct error code
   X -> Test produced incorrect results
   / -> Test returned an incorrect error code
   \ -> Test not executed: OpenCL-kernel compilation error
   o -> Test not executed: Unsupported precision
   . -> Test not completed: Reference CBLAS doesn't output error codes
* Testing 'regular behaviour' for 'default':
   Config: n=7 incx=1 incy=1 offx=0 offy=0 -> :
   Config: n=7 incx=1 incy=2 offx=0 offy=0 -> :
   Config: n=7 incx=1 incy=7 offx=0 offy=0 -> :
   Config: n=7 incx=2 incy=1 offx=0 offy=0 -> :
   Config: n=7 incx=2 incy=2 offx=0 offy=0 -> :
   Config: n=7 incx=2 incy=7 offx=0 offy=0 -> :
   Config: n=7 incx=7 incy=1 offx=0 offy=0 -> :
   Config: n=7 incx=7 incy=2 offx=0 offy=0 -> :
   Config: n=7 incx=7 incy=7 offx=0 offy=0 -> :
   Config: n=93 incx=1 incy=1 offx=0 offy=0 -> :
   Config: n=93 incx=1 incy=2 offx=0 offy=0 -> :
   Config: n=93 incx=1 incy=7 offx=0 offy=0 -> :
   Config: n=93 incx=2 incy=1 offx=0 offy=0 -> :
   Config: n=93 incx=2 incy=2 offx=0 offy=0 -> :
   Config: n=93 incx=2 incy=7 offx=0 offy=0 -> :
   Config: n=93 incx=7 incy=1 offx=0 offy=0 -> :
   Config: n=93 incx=7 incy=2 offx=0 offy=0 -> :
   Config: n=93 incx=7 incy=7 offx=0 offy=0 -> :
   Config: n=4096 incx=1 incy=1 offx=0 offy=0 -> :
   Config: n=4096 incx=1 incy=2 offx=0 offy=0 -> :
   Config: n=4096 incx=1 incy=7 offx=0 offy=0 -> :
   Config: n=4096 incx=2 incy=1 offx=0 offy=0 -> :
   Config: n=4096 incx=2 incy=2 offx=0 offy=0 -> :
   Config: n=4096 incx=2 incy=7 offx=0 offy=0 -> :
   Config: n=4096 incx=7 incy=1 offx=0 offy=0 -> :
   Config: n=4096 incx=7 incy=2 offx=0 offy=0 -> :
   Config: n=4096 incx=7 incy=7 offx=0 offy=0 -> :

   Pass rate 100.0%: 27 passed / 0 skipped / 0 failed
* Testing 'invalid buffer sizes' for 'default':
Segmentation fault

My build settings: -DTESTS=ON -DTUNERS=ON

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 41 (20 by maintainers)

Most upvoted comments

Nice, it helped a lot:

93% tests passed, 3 tests failed out of 41

Total Test time (real) =  38.24 sec

The following tests FAILED:
         36 - clblast_test_xsyrk (Failed)
         38 - clblast_test_xsyr2k (OTHER_FAULT)
         39 - clblast_test_xher2k (SEGFAULT)

I’ll post the remaining errors details later.