Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Whitelist hypot #442

Closed
JuliaGPU/CUDAnative.jl
#571

Description

using CuArrays, LinearAlgebra
x = rand(Float32) + rand(Float32)*im
norm.(cu([x])) == norm.([x])
hypot.(cu([real(x)]),cu([imag(x)])) == hypot.([real(x)],[imag(x)])

it warns but isn't necessary. Xref: SciML/DiffEqBase.jl#347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions