Giter Site home page Giter Site logo

GPGPU example? about nvk HOT 5 CLOSED

maierfelix avatar maierfelix commented on May 21, 2024
GPGPU example?

from nvk.

Comments (5)

robertleeplummerjr avatar robertleeplummerjr commented on May 21, 2024 1

this a problem for you?

GPU.js already has a webgl and webgl2 backend. We want new backends, ones that are server side GPU centric.

Develop in one language, with one environment, and deploy everywhere.

from nvk.

maierfelix avatar maierfelix commented on May 21, 2024

A compute shader example is one of my main Todos! I will let you know when I got something up for you.

A good starting point is the Triangle example, just remove the window and graphics stuff and you are ready to try it yourself - It's not enforced to use a window.

Also please note that node-vulkan only runs on desktop, not in the browser - is this a problem for you?

from nvk.

robertleeplummerjr avatar robertleeplummerjr commented on May 21, 2024

Forgot to mention, gpu.js transpiles on the fly to whatever backends we need.

from nvk.

maierfelix avatar maierfelix commented on May 21, 2024

@robertleeplummerjr Added this compute shader example

Edit: At the very end of the example file there is a read-back part. This is where data gets read back from the GPU to the CPU. The example saves the data into an image file, but it's up to you how you process it.

from nvk.

robertleeplummerjr avatar robertleeplummerjr commented on May 21, 2024

Consider this closed. Great job!

from nvk.

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.