Giter Site home page Giter Site logo

test the example of ocl, it reports "onednn_verbose,primitive,error,ocl,errcode -30,CL_INVALID_VALUE,src\gpu\ocl\ocl_utils.cpp:509" about onednn HOT 9 CLOSED

feixuedudiao avatar feixuedudiao commented on June 13, 2024
test the example of ocl, it reports "onednn_verbose,primitive,error,ocl,errcode -30,CL_INVALID_VALUE,src\gpu\ocl\ocl_utils.cpp:509"

from onednn.

Comments (9)

densamoilov avatar densamoilov commented on June 13, 2024

@kealan-barbieri, it seems that the reported behavior is related to ebe77b5. It seems that the error is caused by CL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXT not being one of the supported param_name values.

Does the new get_ocl_device_enabled_native_float_atomics function have any requirement to the OpenCL version? Can you please clarify if this is an expected behavior?

from onednn.

vpirogov avatar vpirogov commented on June 13, 2024

Intel(R) UHD Graphics 630 support was discontinued and the last driver update published in the end of 2022. oneDNN does not support this generation either.

from onednn.

kealan-barbieri avatar kealan-barbieri commented on June 13, 2024

CL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXT is the limiting factor for get_ocl_device_enabled_native_float_atomics. My understanding is it requires OpenCL 2.0 driver support (per extension doc), which is in line with the requirements in our README.

I'm testing to verify this code is compliant with our supported OpenCL versions. initial tests look good. The last driver version for Intel(R) UHD Graphics 630 does include API support for OpenCL 3.0 so this should not be an issue if that driver is installed.

from onednn.

kealan-barbieri avatar kealan-barbieri commented on June 13, 2024

Submitted a trivial change that can eliminate this kind of issue without degrading the associated functionality. Thanks @rjoursler for the suggestion!

from onednn.

feixuedudiao avatar feixuedudiao commented on June 13, 2024

@densamoilov, You are right! It crashed at " OCL_CHECK(clGetDeviceInfo(device, CL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXT,
sizeof(cl_bitfield), &res, nullptr));" .But i don't know how to solve it or avoid it to happen. It happened in v3.4.1 of OneDNN,and there is no this parts code with v3.3.6, the difference of bettween the two version is what?
图片

from onednn.

onednnsupporttriage avatar onednnsupporttriage commented on June 13, 2024

Hi @feixuedudiao, Thank you for reaching out to the Intel oneDNN team with your inquiry.

We understand that you are currently exploring the capabilities of the Intel oneDNN product, and we are happy to help it. We would like to get connect with you to better understand your specific use case and requirements.

can we get connected via email at [email protected] ?

from onednn.

feixuedudiao avatar feixuedudiao commented on June 13, 2024

@onednnsupporttriage Thanks. Of course.

from onednn.

onednnsupporttriage avatar onednnsupporttriage commented on June 13, 2024

Hi @feixuedudiao, do you have to chance to contact our support channel by the email ([email protected])?

thanks,
Chao

from onednn.

feixuedudiao avatar feixuedudiao commented on June 13, 2024

@onednnsupporttriage thanks, but it failed.
图片

from onednn.

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.