Skip to content

Support for 1.13#182

Merged
maleadt merged 6 commits intomainfrom
tb/1.13
Apr 8, 2026
Merged

Support for 1.13#182
maleadt merged 6 commits intomainfrom
tb/1.13

Conversation

@maleadt
Copy link
Copy Markdown
Member

@maleadt maleadt commented Apr 7, 2026

1.14/nightly has a couple of failures I haven't figured out yet.

maleadt and others added 6 commits April 7, 2026 16:28
Julia nightly changed NativeInterpreter.inf_cache from
Vector{InferenceResult} to the new InferenceCache wrapper type.
OverlayCodeCache (used by code_cache on 1.14+) now expects
InferenceCache, so custom interpreters must match.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Julia 1.13 changed inlining cost storage to encode costs into a UInt8,
which saturates values above ~5000 to MAX_INLINE_COST (65535). Since
each cuTile intrinsic call costs 1000 (inline_nonleaf_penalty),
functions with ≥5 intrinsic calls become permanently non-inlineable
regardless of inline_cost_threshold.

Override src_inlining_policy for cuTileInterpreter to always return
true when source code is available, matching the intent of our
typemax(Int) inline_cost_threshold setting.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
On 1.13+, mul_hi is an overlay of Base.mul_hi rather than a
cuTile-defined function. Import it so ct.mul_hi resolves correctly
in user code and tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Julia nightly can leave isa() type checks unresolved when code cache
interactions prevent constant folding. Previously these became ghost
values with no runtime representation, causing "SSAValue not found"
errors when used as IfOp conditions.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@maleadt maleadt marked this pull request as ready for review April 8, 2026 05:58
@maleadt maleadt merged commit 126e201 into main Apr 8, 2026
13 checks passed
@maleadt maleadt deleted the tb/1.13 branch April 8, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant