Skip to content

Missing dotc method for complex arrays #2829

@paulxshen

Description

@paulxshen

Hello on Julia 1.11.5 CUDA 5.8.2:

ERROR: MethodError: no method matching dotc(::Int64, ::CuPtr{ComplexF32}, ::Int64, ::CuPtr{ComplexF32}, ::Int64)
The function `dotc` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  dotc(::Integer, ::Union{Ptr{ComplexF32}, AbstractArray{ComplexF32}}, ::Integer, ::Union{Ptr{ComplexF32}, AbstractArray{ComplexF32}}, ::Integer)
   @ LinearAlgebra C:\Users\default.LAPTOP-HMRU58MH\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\LinearAlgebra\src\blas.jl:363
  dotc(::Integer, ::Union{Ptr{ComplexF64}, AbstractArray{ComplexF64}}, ::Integer, ::Union{Ptr{ComplexF64}, AbstractArray{ComplexF64}}, ::Integer)
   @ LinearAlgebra C:\Users\default.LAPTOP-HMRU58MH\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\LinearAlgebra\src\blas.jl:363
  dotc(::AbstractArray{ComplexF64}, ::AbstractArray{ComplexF64})
   @ LinearAlgebra C:\Users\default.LAPTOP-HMRU58MH\AppData\Local\Programs\Julia-1.11.5\share\julia\stdlib\v1.11\LinearAlgebra\src\blas.jl:395

I didn't even explicitly call dot so IDK any workaround

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions