Giter Site home page Giter Site logo

Kernel crash in driver about oneapi.jl HOT 6 CLOSED

juliagpu avatar juliagpu commented on June 7, 2024
Kernel crash in driver

from oneapi.jl.

Comments (6)

maleadt avatar maleadt commented on June 7, 2024

Sadly the code uses Float64 which my test system does not support. But after compiling IGC with debug info/functionality, I'm getting an IR verification error during back-end compilation:

Instruction does not dominate all uses!
  %value_phi191.off0715753 = phi i8 [ %value_phi45.off0506, %L30922 ], [ 1, %L30911.thread ]
  %i1trunc60 = trunc i8 %value_phi191.off0715753 to i1
PHI nodes not grouped at top of basic block!
  %value_phi43505 = phi i64 [ %value_phi33, %L19878 ], [ 1, %L31303 ]
label %L19900

I'm assuming that this is related, and am reducing the SPIR-V code now.

from oneapi.jl.

michel2323 avatar michel2323 commented on June 7, 2024

Sadly the code uses Float64

We should make the code base type independent.

from oneapi.jl.

maleadt avatar maleadt commented on June 7, 2024

That would be useful. In addition, could you report the LLVM IR too? i.e., the output of @device_code, or @device_code_llvm dump_module=true.

from oneapi.jl.

michel2323 avatar michel2323 commented on June 7, 2024

When doing

@device_code_llvm dump_module=true auglag_linelimit_two_level_alternative_ka(device, 32, data.nline*32)(
    Val(mod.n), data.nline, mod.line_start,
    info.inner, par.max_auglag, par.mu_max, par.scale,
    sol.u_curr, sol.v_curr, sol.z_curr, sol.l_curr, sol.rho,
    par.shift_lines, mod.membuf, data.YffR, data.YffI, data.YftR, data.YftI,
    data.YttR, data.YttI, data.YtfR, data.YtfI,
    data.FrVmBound, data.ToVmBound, data.FrVaBound, data.ToVaBound,
    dependencies=Event(device)
)

it still crashes without any output of an expression. I'll work on the Float32 port now.

from oneapi.jl.

maleadt avatar maleadt commented on June 7, 2024

Can you save input from here then: https://github.com/JuliaGPU/GPUCompiler.jl/blob/c687cae9510c42cea4c7449731e4a8075f0dc955/src/spirv.jl#L141=

from oneapi.jl.

maleadt avatar maleadt commented on June 7, 2024

Closing due to inactivity. Please reopen if this still happens on latest master.

from oneapi.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.