GithubHelp home page GithubHelp logo

Comments (8)

CNugteren avatar CNugteren commented on June 27, 2024

Yes, there is. I have only tested half-precision (fp16) on Intel GPUs with Beignet OpenCL. So far, I couldn't make the kernel work properly with Beignet under Linux. Thus, I haven't been able to run the tuners. As a result there are no entries for fp16 GEMM in the database.

I don't have access to other hardware supporting fp16, so I can't say for 100% that it is a Beignet-related issue - it could of course also be a bug in CLBlast. But until I have other fp16 hardware available (or someone else runs the tuners), it isn't fully tested.

from clblast.

intelfx avatar intelfx commented on June 27, 2024

On Mali-T628 (OpenCL r10), the kernel runs, but there are test failures (not all: 85 passed / 278 skipped / 149 failed). Is this what you mean by "not working properly"?

from clblast.

intelfx avatar intelfx commented on June 27, 2024

And if I swap the default kernel with the one written by ARM, then the numbers are 87/278/147. Couldn't it be an issue with precision?

from clblast.

CNugteren avatar CNugteren commented on June 27, 2024

With Beignet I haven't managed to get the tuner working for HGEMM.

I haven't tuned for Mali FP16, that's why the parameters are not included in the database. Feel free to do so and upload the results to #1. After that's done the next step would be to look at correctness.

from clblast.

intelfx avatar intelfx commented on June 27, 2024

Beignet

BTW, how does it support half-precision? Here (HD4600, beignet from git master) CLBlast says -2045. That is, I don't have cl_khr_fp16 in extensions.

from clblast.

CNugteren avatar CNugteren commented on June 27, 2024

The following 2 devices at least support cl_khr_fp16 with the latest Beignet:

  • HD Graphics 5500 BroadWell U-Processor GT2
  • HD Graphics Skylake ULT GT2

Could very well be that your hardware doesn't support FP16.

from clblast.

intelfx avatar intelfx commented on June 27, 2024

Ah, that matches the situation with proprietary drivers. Looks like I'm out of luck to verify this.

from clblast.

CNugteren avatar CNugteren commented on June 27, 2024

I changed the database script such that it now generates a default parameter set based on 32-bit precision (e.g SGEMM) in case there is no entry yet (e.g. HGEMM). This fixes your issue.

from clblast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.