clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"error: unknown argument: '-g'" with Beignet

rstub opened this issue · comments

When working with ArrayFire on a Debian system with Beignet installed, I encountered a bug that I reported there: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881054

I have the impression that it is similar to #20, but now for an Intel GPU. I was able to circumvent this issue by rebuilding the Debian package for clBLAS with the relevant parts commented out:

// Nvidia runtime does not appear to support the -g flag, at least in their OpenCL v1.1 runtime
if( target.ident.vendor != VENDOR_NVIDIA )
addBuildOpt( opts, BUILD_OPTS_MAXLEN, "-g" );

However, I am wondering if a proper solution within clBLAS would be possible. Could the vendor check be extended to also include Intel (at least together with beignet)?

Here an excerpt from clinfo:

  Device Name                                     Intel(R) HD Graphics Skylake ULT GT2
  Device Vendor                                   Intel
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.0 beignet 1.3
  Driver Version                                  1.3
  Device OpenCL C Version                         OpenCL C 2.0 beignet 1.3
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE

I also experienced this issue with clBLAS with Beignet on an Intel Skylake GPU. Let me know if any additional information is helpful.

This flag has been removed in development branch
03254e5

Thanks. Do you know when the next release is planned?

I don't know for sure but next release will not be ever released in my opinion. Community has CLBlast with active maintainer (good job, @CNugteren ) and AMD has it's new rocBLAS to play with.