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
using CUDA
functionsqrt_kernel(x)
tx =threadIdx().x
if tx <=length(x)
x[tx] =sqrt(x[tx])
endreturnnothingend
x =zeros(10) |> CuArray
CUDA.@sync@cudasqrt_kernel(x)
Describe the bug
When using
sqrt
in a kernel CUDA.jl throws the following error:To reproduce
The Minimal Working Example (MWE) for this bug:
Manifest.toml
Expected behavior
The kernel executes successfully as it has with a previous stack.
Version info
Details on Julia:
Details on CUDA:
Additional context:
Attached is a Manifest.toml where the kernel still works. Unfortunately, it is from another project.
Edit: Hardware reproduced:
Manifest.zip
The text was updated successfully, but these errors were encountered: