Skip to content

Use CompilerCaching 0.5 specialization entries - #310

Merged
maleadt merged 1 commit into
mainfrom
tb/compilercaching-0.5
Sep 6, 2026
Merged

Use CompilerCaching 0.5 specialization entries#310
maleadt merged 1 commit into
mainfrom
tb/compilercaching-0.5

Conversation

@maleadt

@maleadt maleadt commented Sep 5, 2026

Copy link
Copy Markdown
Member

Use CompilerCaching 0.5's typed specialization entries to retrieve const-specialized source, return types, and compilation results. This removes the manual analysis-results walk and adapts the const-specialized lookup result while preserving the driver's (ci, CuTileResults) interface.

Add a host-side regression covering cold and warm lookups, separate results for different constants, and specialization-specific return types.

CI build 632 failed during dependency resolution on all three Julia versions: cuTile requires CompilerCaching 0.5, but GPUCompiler only allows 0.4. CUDA/CUDACore require GPUCompiler. This PR needs a GPUCompiler release containing JuliaGPU/GPUCompiler.jl#922.

Rebased onto current main. Local validation used CompilerCaching 0.5.0, CUDA 6.3.1, and GPUCompiler with the compat change from #922, in isolated environments:

  • host/inference_cache, codegen/integration, and device/core: 166 passed on Julia 1.11.9; 168 passed on 1.12.7; 168 passed on 1.13.0-rc4. Device tests ran on an RTX 5080.
  • GPUCompiler native/PTX tests, including precompilation: 476 passed, 2 broken on Julia 1.12.7.

@maleadt
maleadt force-pushed the tb/compilercaching-0.5 branch from 70ec2c7 to bf22b3e Compare September 5, 2026 19:48
@maleadt maleadt changed the title Adapt to CompilerCaching 0.5. Use CompilerCaching 0.5 specialization entries Sep 5, 2026
CompilerCaching 0.5 exposes const-specialized inference through typed
entries. Read each entry's source and return type together, and extract
its CuTileResults from const-specialized lookups before passing them to
the compilation phases. This removes the manual analysis-results walk
and the untyped source lookup.

Cover cold and warm lookups, separate results for different constants,
and specialization-specific return types in a host-side regression.
@maleadt
maleadt force-pushed the tb/compilercaching-0.5 branch from bf22b3e to 1b21e53 Compare September 5, 2026 20:43
@maleadt
maleadt merged commit 716aaba into main Sep 6, 2026
1 check passed
@maleadt
maleadt deleted the tb/compilercaching-0.5 branch September 6, 2026 06:20
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