GithubHelp home page GithubHelp logo

AMD GPU code generation? about enoki HOT 2 CLOSED

jammm avatar jammm commented on June 27, 2024
AMD GPU code generation?

from enoki.

Comments (2)

wjakob avatar wjakob commented on June 27, 2024 1

Hi Aaryaman,

since the new version generates LLVM IR, it is in principle possible to use that as a mechanism to create new backends (e.g. Metal, AMDGPU, etc.). But there are many details (specific "flavor" of LLVM IR, hand-written GPU kernels, buffer management) that would make this a huge undertaking -- I'm guessing at least half a year by somebody who is very familiar with the specific target architecture and the LLVM internals. It's unfortunately not something that we can pursue as our resources are limited (and creating 2 backends was already a lot of work!). If you have that kind of time and expertise, contributions are welcomed.

Wenzel

from enoki.

jammm avatar jammm commented on June 27, 2024

Thanks for your reply! It does sound like a more complicated issue than I thought. At the very least, having LLVM IR is a great as it opens up avenues for other devices to be supported. The point regarding specific "flavors" of LLVM IR is interesting as well. I'll keep that in mind as I explore more use cases for the AMDGPU LLVM backend.

Cheers,
Aaryaman

from enoki.

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.