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
let
A = Tensor(Dense(SparseList(Element(0.0))), fsprand(UInt, 42, 42, 0.1))
x = Tensor(Dense(Element(0.0)), rand(UInt, 42))
y = Tensor(Dense(Separate(Element(0.0))))
@finch begin
y .= 0
for i = parallel(_)
for j = _
y[i] += A[i, j] * x[j]
end
end
end
@test norm(y - A * x) / norm(A* x) < 1e-10
end
```
This should raise a concurrency error, but it does not
The text was updated successfully, but these errors were encountered:
willow-ahrens
changed the title
separate level is not atomic
separate level is incorrectly assumed to be atomic
Dec 12, 2024
@wraith1995
The text was updated successfully, but these errors were encountered: