Skip to content
This repository was archived by the owner on Sep 27, 2021. It is now read-only.
This repository was archived by the owner on Sep 27, 2021. It is now read-only.

CLArray{Float32,2}(10,10) throws ambiguity error #27

@dlfivefifty

Description

@dlfivefifty
julia> CLArray{Float32,2}(10,10)
ERROR: MethodError: CLArrays.CLArray{Float32,2}(::Int64, ::Int64) is ambiguous. Candidates:
  (::Type{CLArrays.CLArray{T,N}})(size, ptr) where {T, N} in CLArrays at /Users/solver/.julia/v0.6/CLArrays/src/array.jl:12
  (T::Type{#s9} where #s9<:GPUArrays.GPUArray)(dims::Integer...) in GPUArrays at /Users/solver/.julia/v0.6/GPUArrays/src/construction.jl:37
Possible fix, define
  (::Type{CLArrays.CLArray{T,N}})(::Integer, ::Integer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions