-
-
Notifications
You must be signed in to change notification settings - Fork 51
WMMA tests fail on julia-debug #587
Comments
Hmm, I could've sworn that I tested this with a debug build of LLVM and assertions enabled. That may have been when upstream was still on LLVM 6, though. The issue is that strictly speaking, the return type is e.g. Are you a fan of adding (yet another...) type to Julia to fix this? |
It would be nice if we could deal with this using existing types, ref JuliaLang/julia#31681 (comment) |
I don't think this is a quick fix, so we should probably disable the WMMA tests when running in debug mode and print a warning instead. |
I agree, I'd rather not go down the rabbit hole of differentiating I suppose what we could do is emit Julia structs as LLVM structures in codegen. Instead of using struct Foo4{T}
x1::T
x2::T
x3::T
x4::T
end
struct Foo8{T}
x1::T
...
x8::T
end I guess that's not that bad, since all return types are 4 or 8 long, anyway. |
Well, it turns out there is a better way by (ab)using Julia's metaprogramming capabilities: thomasfaingnaert@6447332. |
That's not really abuse, but what the metaprogramming capabilities are made for. Using Cartesian's |
Bunch of these:
Julia 1.5.0-DEV.383, CUDAnative#master.
The text was updated successfully, but these errors were encountered: