JuliaGPU / JuliaGPU/GPUArrays.jl

`Hermitian()` wrapper missing a GPU compatible iterator

Open
#586 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.