41 karma · joined Jul 26, 2016 (10y ago) · 16 submissions
comment 8y ago · link · parent
comment 9y ago · link · parent
Because of the lack of random access, some algorithm like linear combination matrix-matrix multiplication benefits from adding a dense workspace that gives you a view into one row. Then you can scatter into it and when you’re done copy the nonzeroes to the sparse result matrix. This algorithm is sometimes called Gustavson’s algorithm after the person who published it first). We have worked out this optimization within the taco framework, it applies to other kernels too, and are now writing it up for publication.
comment 9y ago · link · parent
taco does not target GPUs yet, and we want to work on it this spring. It’s clearly needed, for example for neural networks
comment 9y ago · link · parent
comment 9y ago · link · parent
We believe our contribution is being able to generate kernels for all the expressions.
Thanks for the reference though! We’re trying to learn where sparsity may be important in neural networks.
comment 9y ago · link · parent
comment 9y ago · link · parent
The tensor contraction engine is great work, and focuses on dense tensor. We currently optimize for sparse tensors so TCE will do better than us for pure dense expressions. We want to bridge this gap next semester though.
The cyclops framework is also great. We discuss it in our related work, but we did not directly compare to it in our evaluation. The first version of it, like TCE, focused on dense tensors, and their main focus is on distributed computing, which we don't support yet (we do shared memory parallel execution at the moment). They have some followup work on sparse computations. The difference to our work is that they, if I read their paper correctly, transposes the data until they can call pre-existing matrix multiplication routines. This causes data movement overheads. Our work compiles expressions to work at the data at hand, without moving it.
comment 9y ago · link · parent
http://news.mit.edu/2017/faster-big-data-analysis-tensor-alg...
The code is available at:
https://github.com/tensor-compiler/taco/issues
I’m happy to discuss the project and to answer any questions :)
comment 10y ago · link · parent
I'm actually working with some people at Adobe this summer to add Local-Global Solvers for ARAP energies (an optimization code) to the set of applications we provide there. We also have an implementation of PageRank.
comment 10y ago · link · parent
You're absolutely right that we could have provided all the functionality as C++ classes instead of compiling Simit programs through the Simit C++ API, and we might at some point. The reason why we didn't do this is that the language is complex enough that we felt it would be less user friendly. I definitely tried to design it as a library without a parser.
comment 10y ago · link · parent
For more information about the language, why it is designed the way it is, why it is fast, and what applications it can be used for, see the talk I gave at Microsoft Research last Friday: https://youtu.be/raPkxhHy5ro?t=40m32s