Code Monkey home page Code Monkey logo

Comments (2)

rohany avatar rohany commented on May 26, 2024

TACO cannot currently be used for direct stencil calculations (i.e. A(i + 1, j + 1)), but it could be used through indirect stencil operations by constructing an indirect higher order stencil matrix and multiplying by that. If you're interested in sparse stencil operations, talk to @willow-ahrens about some work she's been up to!

from taco.

willow-ahrens avatar willow-ahrens commented on May 26, 2024

It's been a while, but I wanted to give the best response I could on sparse tensor compiler convolution support.

https://dl.acm.org/doi/abs/10.1145/3485505 describes TACO support for static affine expressions (A[i + 1]), which would allow you to represent each point in a stencil separately. If there are only a few points in the stencil this could be a good approach.

https://drive.google.com/file/d/1_VIvuiBV7HHDOMnKppHbAMiNLOYJU7DG/view?usp=sharing is very recent work which describes TACO support for arbitrary affine expressions (A[i + j]), which would be a better fit for bigger stencils.

Finally, https://github.com/willow-ahrens/Finch.jl is a Julia-to-Julia sparse tensor compiler I've been working on which currently supports both of the above (for a very wide variety of operations and formats) using named index modifiers like A[offset[i, j]], you can read more about it at https://dl.acm.org/doi/10.1145/3579990.3580020.

from taco.

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.