JuliaSIMD / JuliaSIMD/Polyester.jl
UndefVarError: not defined
Open
- Dominant language
- Julia
- Stars
- 285
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
This code will result an error `LoadError: UndefVarError: a#259 not defined`.
```julia
using Polyester
function test()
a = zeros(3)
@batch for i in 1:3
if false
a = zeros(3)
end
a[i] = 1.0
end
end
test()
```
But it will be OK when I use Threads.@threads. Is it a bug?
Thank you very much.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.