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
This issue has been covered multiple times in the past. Fastor tensors are stack-allocated (not on heap) and your machine does not have that much stack memory. Fastor is not designed for that big of a tensors.
I am trying to add a vector to a matrix, and broadcast the addition across all vectors. I'd like something like this:
and get
I read #108 and saw you mention the only way to do it is with
for
loops, so i tried this as a naive implementation:It works in this case. I wanted to see how it performed on a larger matrix, the task i'm trying to work on uses 1000x1000x3. When i run this:
I get a segmentation fault - am i doing it completely wrong or is there some issue going on? Do you have a recommended way of achieving this?
The text was updated successfully, but these errors were encountered: