JuliaGPU / JuliaGPU/GPUArrays.jl
`Hermitian()` wrapper missing a GPU compatible iterator
Open
good first issue
- Dominant language
- Julia
- Stars
- 450
- Forks
- 104
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 10
Description
The following reproducer code fails with `LoadError: Scalar indexing is disallowed.`:
```
using CUDA
using LinearAlgebra
A = CuArray(ones(Float32, 5, 5))
# This works
any(isnan, Symmetric(A))
# This does not
any(isnan, Hermitian(A))
```
It seems that some underlying function call tries explicit element access with the `Hermitian()` wrapper, but not with `Symmetric()`. I am not 100% sure whether that issue belongs here or in `LinearAlgebra`.
I get this issue with Julia version 1.10.8 (LTS) and 1.11.3 (current stable).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.