Skip to content

[1.8] norm of a Float16 vector crashes on Win64 (Windows 7) #45736

@ViralBShah

Description

@ViralBShah

This crashes on Win64 for me on 1.8-rc1, and is what has been causing JuliaSparse/SparseArrays.jl#147. I can't quite understand why it is non-deterministic on CI, but it fails reliably for me in my Win64 Windows 7 VM.

using LinearAlgebra
norm(rand(Float16, 5))

Doesn't fail through the debugger, which makes me believe that the issue is with codegen. Error log below, and seems like the missing half float conversion methods might be the culprit.

cc @Wimmerer @DilumAluthge

Metadata

Metadata

Assignees

No one assigned

    Labels

    compiler:codegenGeneration of LLVM IR and native codefloat16regressionRegression in behavior compared to a previous versionsystem:windowsAffects only Windows

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions