Giter VIP home page Giter VIP logo

Comments (10)

blueberry avatar blueberry commented on July 25, 2024

Have you checked with clinfo whether any platform is available? I guess you need amd's drivers to use opencl on amd card.

from jocl.

stefan-reich avatar stefan-reich commented on July 25, 2024

Wow quick answer!! Thanks a lot. Are you the author of JOCL?

I am trying to find the ATI drivers for Peppermint 7/64. What I want is ATIStream, right? However, apt doesn't help:

Package amd-libopencl1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  ocl-icd-opencl-dev:i386 ocl-icd-opencl-dev

ocl-icd-opencl-dev doesn't do it either, program still gives same message.

Oh yeah, and clinfo says "Number of platforms 0".

from jocl.

blueberry avatar blueberry commented on July 25, 2024

I don't think you need ATIStream. You need AMD's opencl implementation, which comes with AMD's proprietary drivers. Depending on your GPU, that's either Catalyst, or AMDGPU-PRO. ocl-icd is just an "interface" that delegates to the proper opencl platform implementation. You don't have any, thus clinfo returns 0 platforms, and that seems to be the reason you get the exception when you try to access the info of a platform that does not exist.

from jocl.

blueberry avatar blueberry commented on July 25, 2024

BTW, I am not the author of JOCL, just a satisfied user.

from jocl.

stefan-reich avatar stefan-reich commented on July 25, 2024

Thanks blueberry!

AMD drivers seem like a nightmare. I am trying to find the Linux driver for my A6-7310 APU here. No idea how to get through that form to get that.

I am talking to the Peppermint Linux support, and they say AMD drivers are not available in Peppermint 7, just in Peppermint 6. I can almost not believe that.

from jocl.

blueberry avatar blueberry commented on July 25, 2024

As Peppermint is based on Ubuntu, you should be covered, since it's AMD's primary target when releasing for Linux. I know nothing more, I can just confirm that Arch Linux covers Catalyst quite well through pacman & AUR.

from jocl.

stefan-reich avatar stefan-reich commented on July 25, 2024

Thanks blueberry, I'm trying AMD suppport. Could I get in touch with you? I really want to get JOCL up and working. I see you have a cloned JOCL repository? What is that about? Are you distributing any JOCL-based applications? I have to figure out how to tell people how to set up JOCL (and requirements!) if I want to seriously make use of it (as I'm programming for other people too, not just for myself).

from jocl.

gpu avatar gpu commented on July 25, 2024

Thanks @blueberry for jumping in here so quickly! I could only have made the vague guess what might be wrong here - namely, that there is no OpenCL implementation available (as blueberry suggested, and as it is confirmed by "0 platforms").

In general, there should hardly be specific requirements for JOCL: As soon as there is any OpenCL implementation available, it should work - and usually, such an implementation will be installed together with the driver, regardless of whether it's AMD or NVIDIA or any other platform.

But ... for you, it did not seem to work. Interestingly, websearching for "amd A6-7310 APU driver linux" yields your thread at https://community.amd.com/thread/211567 (Could it be that this a very specific issue? And... was the link that you received there helpful?). Beyond that, for further details about "Peppermint" or driver versions, I can hardly help.

from jocl.

stefan-reich avatar stefan-reich commented on July 25, 2024

I now have the same issue with a new notebook (Ryzen 5 2500U).

According to this, AMD just in general doesn't supply Linux drivers for its mobile CPUs. Which procludes me from programming the GPU in Java? How sad.

from jocl.

gpu avatar gpu commented on July 25, 2024

If so, it does not only mean that you can't do GPU computing in Java, but with this setup in general.

I'm afraid I cannot provide really focused help here. A quick websearch reveals this thread (in German), https://forums.gentoo.org/viewtopic-t-1105078-start-0.html , where someone talks about some hassle of compiling things on his own, but I didn't look into the details.

from jocl.

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.