Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Will the use of OpenCL with Qt for mobile devices benefit the performance somehow?

    Mobile and Embedded
    3
    4
    561
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kofr last edited by

      Many modern mobile devices have a performant GPU.
      Is it possible to use OpenCL in order to involve GPU into computation?

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Kofr last edited by

        @Kofr You mean for your own code? Sure, why not (if the platform provides OpenCL)? But whether your app will benefit or not depends on what it is doing. Does it do any heavy calculations? If it is waiting for user input most of the time then there is no need for OpenCL.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        K 1 Reply Last reply Reply Quote 0
        • K
          Kofr @jsulm last edited by

          @jsulm it is realtime video processing

          1 Reply Last reply Reply Quote 0
          • M
            Meteorhead last edited by

            As far as OpenCL is concerned, definitely. OpenGL can be very cumbersome in places for doing image processing. Using OpenCL, you may even resort to using libraries such as OpenCV, as long as you can compile it against your target platform.

            I have used Qt in conjunction with OpenCL before and it is very developer friendly. I mostly use it for scientific visualization using OpenCL-GL interop and Qt provides all the low-level hooks required to get things working in a cross-platform manner, although my target platforms are Windows and Linux, so I don't have mobile OS experience, but I have heard Qt excels in that domain as well.

            Infact, I had a thread regarding this issue here, and I did manage to find an elegant solution, but there is just one piece of the puzzle still missing which I want to attend before posting the final code. (That is multi-threaded compute/render whenever possible.)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post