Skip to content

Invalid bit width in input #172

Open
@maleadt

Description

@maleadt

Reported by @michel2323:

InvalidBitWidth: Invalid bit width in input: 2                                                                                                                                                                                                                                          dspcg: Error During Test at /home/mschanen/git/ExaTronKernels.jl/test/oneAPI.jl:938                                                                                                                                                                                                       Got exception outside of a @test                                                                                                                                                                                                                                                        Failed to translate LLVM code to SPIR-V.                                                                                                                                                                                                                                                If you think this is a bug, please file an issue and attach /tmp/jl_dLIFvn.bc.                                                                                                                                                                                                          Stacktrace:                                                                                                                                                                                                                                                                               [1] error(s::String)

jl_QOvqhg.bc.zip

Activity

maleadt

maleadt commented on Apr 25, 2022

@maleadt
MemberAuthor

Reduced to:

source_filename = "text"
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024"
target triple = "spir64-unknown-unknown"

define spir_kernel void @kernel() local_unnamed_addr {
top:
  %trunc = trunc i8 1 to i2
  ret void
}
added
bugSomething isn't working
kernelsThings about kernels and how they are compiled.
on Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkernelsThings about kernels and how they are compiled.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @maleadt

        Issue actions

          Invalid bit width in input · Issue #172 · JuliaGPU/oneAPI.jl