Coder Social home page Coder Social logo

Comments (3)

dmarcuse avatar dmarcuse commented on September 26, 2024

This is intended behavior. It looks like your Nvidia OpenCL driver only supports OpenCL 1.2, and the device itself only OpenCL 1.1. Meanwhile, many of the information types this library supports were added in OpenCL 2.0 or later, so they'll just return an error on your system instead. If you don't need them, you can simply ignore them.

from dynamic_ocl.

dmarcuse avatar dmarcuse commented on September 26, 2024

Actually, I missed the second half of your logs, where the example crashes. It looks like there might actually be a bug in my code here because it crashes when no devices are available from the Mesa OpenCL driver - I'll look into it.

from dynamic_ocl.

dmarcuse avatar dmarcuse commented on September 26, 2024

I've pushed a commit that should fix this - could you try it out and see if it fixes it? If so, I'll publish a new alpha release of the crate.

from dynamic_ocl.

Related Issues (1)

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.