JuliaGPU / JuliaGPU/CUDA.jl

Task switch not allowed from inside staged nor pure functions

Open
#292 1 comment 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
Julia
Stars
1.4k
Forks
281
Avg merge
1d 7h
Merged PRs (30d)
30

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

https://github.com/JuliaGPU/CUDA.jl/blob/ebc074262a5e88f9c596d21342972b49ff986ae7/src/device/cuda/output.jl#L149

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.