-
Notifications
You must be signed in to change notification settings - Fork 44
1.12 #391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.12 #391
Changes from 6 commits
b28270e
f98c613
41a704a
96b01c3
88a1be6
4932673
73303d3
475a6a4
77328d1
e3d681d
210e545
7a58c51
56d7000
7434a60
70e66c1
59ec314
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -57,3 +57,13 @@ end | |||||||||||||||||||||||
| @print_and_throw "Out-of-bounds access of scalar value" | ||||||||||||||||||||||||
| x | ||||||||||||||||||||||||
| end | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # From Metal.jl to avoid widemul and Int128 | ||||||||||||||||||||||||
| @static if VERSION >= v"1.12.0-DEV.1736" # Partially reverts JuliaLang/julia PR #56750 | ||||||||||||||||||||||||
| let BitInteger64 = Union{Int64, UInt64} | ||||||||||||||||||||||||
| @device_override function Base.checkbounds(::Type{Bool}, v::StepRange{<:BitInteger64, <:BitInteger64}, i::BitInteger64) | ||||||||||||||||||||||||
| @inline | ||||||||||||||||||||||||
| return checkindex(Bool, eachindex(IndexLinear(), v), i) | ||||||||||||||||||||||||
| end | ||||||||||||||||||||||||
| end | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
| let BitInteger64 = Union{Int64, UInt64} | |
| @device_override function Base.checkbounds(::Type{Bool}, v::StepRange{<:BitInteger64, <:BitInteger64}, i::BitInteger64) | |
| @inline | |
| return checkindex(Bool, eachindex(IndexLinear(), v), i) | |
| end | |
| end | |
| BitInteger64 = Union{Int64, UInt64} | |
| @device_override function Base.checkbounds(::Type{Bool}, v::StepRange{<:BitInteger64, <:BitInteger64}, i::BitInteger64) | |
| @inline | |
| return checkindex(Bool, eachindex(IndexLinear(), v), i) | |
| end |
I don't think we can use let here and @device_override global function is not recognized by the macro. With this change and JuliaPackaging/Yggdrasil#12341 all tests are passing for me locally on 1.12
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ll make the change and revert my temporary test-reducing measures shortly.
Should we also limit POCL to 7.0 for the main package instead of just tests until someone figures out what’s causing the new test failures?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to restrict compatibility for the entire package. The issue is incomplete Float16 support, which we didnt test previously because the jlls had Float16 support disabled
Uh oh!
There was an error while loading. Please reload this page.