You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I got seg faults using the kernel generated by taco when processing large tensors. I used taco compiler to generate the following kernel computation
The sparse tensors I used are nell-1 and nell-2 from FROSTT, which are also used for the original taco paper. However, the kernel successfully run with the tensor nell-2 but not for the larger one nell-1 (seg fault). Is this a known issue or it's a bug such as data overflow within taco? The issue happens to other large tensors as well.
The text was updated successfully, but these errors were encountered:
TACO currently (and it's not a trivial fix) generates code using 32 bit integers. The dimension sizes of nell-1 will cause integer overflow for your dense output tensor, leading to the segfault that you're seeing.
Hello, I got seg faults using the kernel generated by taco when processing large tensors. I used taco compiler to generate the following kernel computation
and use the following
main
functionI replaced the
restrict
keyword with__restrict__
in the generated two *.hpp files and compile it usingclang
from LLVM15 with the following commandThe sparse tensors I used are
nell-1
andnell-2
from FROSTT, which are also used for the original taco paper. However, the kernel successfully run with the tensornell-2
but not for the larger onenell-1
(seg fault). Is this a known issue or it's a bug such as data overflow within taco? The issue happens to other large tensors as well.The text was updated successfully, but these errors were encountered: