JuliaGPU/CUDA.jl
View on GitHubTask switch not allowed from inside staged nor pure functions
Open
#292 opened on Jul 14, 2020
buggood first issue
Description
As seen in https://github.com/JuliaGPU/KernelAbstractions.jl/issues/110#issuecomment-657911050, the @error call can cause a task-switch in a generated function