Announcement

Collapse
No announcement yet.

Khronos Officially Releases WebCL 1.0 For OpenCL On The Web

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Khronos Officially Releases WebCL 1.0 For OpenCL On The Web

    Phoronix: Khronos Officially Releases WebCL 1.0 For OpenCL On The Web

    Almost three years after originally talking about WebCL, the Khronos Group has today finally come out with the ratified WebCL 1.0 specification for OpenCL compute support within the web browser...

    http://www.phoronix.com/vr.php?view=MTYzNTk

  • #2
    I don't quite see why this exists - why would I want websites to run multi-thread computations on my GPU?

    Might be useful for Google Docs, but that seems a rather niche use-case.

    Comment


    • #3
      ?? There are many use cases I think. For instance scientific plotting / graphing, particle simulators for "artistic" web pages...

      Comment


      • #4
        Originally posted by FLHerne View Post
        I don't quite see why this exists - why would I want websites to run multi-thread computations on my GPU?

        Might be useful for Google Docs, but that seems a rather niche use-case.
        • Offloading physics simulations for WebGL-based games
        • Photo/Video editing software on the web
        • GPU-accelerated decoding of video formats that aren't handled natively by your GPU's UVD/PureVideo implementation
        • Bitcoin mining without having to download a native/Java application first... Maybe even for YOUR btc wallet
        Last edited by Veerappan; 03-19-2014, 01:00 PM.

        Comment


        • #5
          I'm somewhat glad that this finally made it out. I've been subscribed to the public WebCL mailing list for 2.5 years now, and I've been waiting for this to come out.

          Also, WebCL comes with a set of conformance tests, which we can hopefully use to guide/accelerate Mesa/Clover development.

          Comment


          • #6
            Wont this allow any webpage to read the frame buffer and potentially snoop or steal important information by sending it over the web? Is there proper memory segmentation in Nvidia and AMD cards?

            Comment


            • #7
              Originally posted by vadix View Post
              Wont this allow any webpage to read the frame buffer and potentially snoop or steal important information by sending it over the web? Is there proper memory segmentation in Nvidia and AMD cards?
              WebGL won't allow that, obviously.

              Comment


              • #8
                Hah, I said so when this was talked about a while back and will say it again. World's biggest gpu botnet.

                1. Insert script on popular webpage
                2. Crack passwords, mine coins, whatever
                3. ????
                4. PROFIT

                Comment


                • #9
                  Originally posted by Veerappan View Post
                  • Offloading physics simulations for WebGL-based games
                  • Photo/Video editing software on the web
                  • GPU-accelerated decoding of video formats that aren't handled natively by your GPU's UVD/PureVideo implementation
                  • Bitcoin mining without having to download a native/Java application first... Maybe even for YOUR btc wallet
                  So far, WebCL is DOA within WebKit because they haven't addressed the issues of security brought up in Aprile and May 2013. The dev discussions just died.

                  Comment


                  • #10
                    Originally posted by Veerappan View Post
                    • Offloading physics simulations for WebGL-based games
                    • Photo/Video editing software on the web
                    • A big one.
                    • GPU-accelerated decoding of video formats that aren't handled natively by your GPU's UVD/PureVideo implementation
                    Another big one.
                  • Bitcoin mining without having to download a native/Java application first... Maybe even for YOUR btc wallet
                  I'm not sure why people don't see the benefit here. It opens up web browsers to handling all sorts of data files and processing them for display. It seems like every industry or science has its own data and image format. Within a few years maybe even months a web browser could become a universal image viewer relieving people of the need to do image conversions and processing for an often data reduced format.

                  Comment


                  • #11
                    Originally posted by smitty3268 View Post
                    WebGL won't allow that, obviously.
                    Therefore, I am assuming that WebCL uses a separate implementation of OpenCL and will require a separate kernel compiler? I don't know if graphics cards have memory segmentation, but if they don't, that would be the only way, and it would lead to binaries with somewhat decreased performance. I've searched online before, but I couldn't find anything in regards to graphics card memory segmentation.

                    Comment


                    • #12
                      Originally posted by vadix View Post
                      I've searched online before, but I couldn't find anything in regards to graphics card memory segmentation.
                      The main form of protection is provided by the IOMMU on the Northbridge. (Avoiding the graphic card being able to snoop any CPU space which isn't allowed expressely).

                      Then there is protection at the API / at the driver (Allowing one app to execute kernels only on memory it has access to) The good thing is that most API don't allow complete random read/write anywhere in the memory. In theory that should be technically possible, but in practice, OpenCL enforce that you allocate buffers and provide them to your function.

                      Originally posted by Veerappan View Post
                      • Bitcoin mining without having to download a native/Java application first... Maybe even for YOUR btc wallet
                      Litecoin mining, that would be.
                      Bitcoin mining is now at the hand of specilized hardware (ASICs) which are *Vastly* more performant than graphic cards (GPU get in the range of mega-hashes per seconds, ASIC get in the range of giga-hashes per second, and the latest "huge pile of ASICs in a big server case" reach the tera-hash per second range. A GPU is useless next to that).
                      Litecoin use a different mining algorithm (SCrypt instead of SHA256 ^ 2) and thus is heavily memory dependant. Newer generation of hardware don't make such a big jump forward (While it's mined on GPU, big high-end cluster CPUs are still competitive, and future ASIC seem that they will be in the same performance range as GPUs only a bit more economic on energy).

                      Originally posted by curaga View Post
                      Hah, I said so when this was talked about a while back and will say it again. World's biggest gpu botnet.
                      Or simply use NoScript and only allow trusted JavaScript.
                      More seriously, that indeed is going to be a big problem (specially since more and more online devices are portable [laptops, tablets, smartphones] and the impact of such online malware is going to be huge on the battery).
                      I think know you begin to understand the rant of RMS and more recently Mark Shuttleworth about the need to opensourcing javascript.

                      Comment

                      • Working...
                        X