taco
taco copied to clipboard
The Tensor Algebra Compiler (taco) computes sparse tensor expressions on CPUs and GPUs
See the discussion + example here -- https://github.com/tensor-compiler/taco/pull/381#issuecomment-768008873.
Hello, This is related to Issue #131 that was closed a couple of years ago. I have commented on that issue, but wasn't sure if it would be seen, so...
Hi, I am wondering if there is a way to view the c++ kernel for a python generated index expression/einsum expression. When I mean the c++ kernel, I mean the...
Looking at the einsum documentation [warning](http://tensor-compiler.org/docs/reference/rst_files/functions/pytaco.einsum.html), you suggests that "the same subscript cannot appear more than once in a given operand". So I tried in pt.evaluate() as well, but it...
It seems like it should be straightforward to introduce a macro like `TACO_ACCESS(array, length, offset)` that expands to `offset >= 0 && offset < length ? array[offset] : taco_assert_fail(...)`. This...
The following code ```python import pytaco as pt a = pt.tensor([3,3], pt.dense) b = pt.tensor([3,3], pt.dense) c = a + b ``` produces c whose format is Format(({compressed},{compressed}; 0,1)) rather...
Taco generates valid code for both of these cases. ``` % bin/taco 'A(i,j) = B(i,j)' > copy-matrix.c % bin/taco 'A(i,j) = B(j,i)' > transpose-matrix.c ``` But it can't generate an...
Taco defaults to compiling application code with `cc`, but this can cause some bad results when Taco itself was built with clang. When I build Taco with clang 10, but...
In addition to a templated value type, it would be very useful to be able to use generic index types (long long, int, short, size_t, etc.). Thus, the taco tensor...
A user on gitter asked whether it is possible to reset a Tensor, give it different data and rerun the computation. Currently this does not work, the tensor has the...