Repository navigation
Opt-in GraphBLAS JIT via jit! - #159
Merged
Merged
Conversation
The JIT stays off by default. jit!(true; compiler, cache) points it at a
local C compiler (default Sys.which("cc")) and an optional cache path.
GxB_JIT_ERROR and GxB_OUTPUT_IS_READONLY now raise readable errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ViralBShah
force-pushed
the
vs/jit-optin
branch
from
October 27, 2026 15:27
045bad5 to
b5e6ef1
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v11 #159 +/- ##
==========================================
+ Coverage 65.59% 65.65% +0.06%
==========================================
Files 54 54
Lines 4441 4449 +8
==========================================
+ Hits 2913 2921 +8
Misses 1528 1528 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #158. It will be rebased onto
v11once #158 merges.#158 turns the GraphBLAS JIT off at init, because the jll's default compiler is the build machine's gcc path. This PR adds an opt-in way to turn it back on:
With the JIT on, GraphBLAS compiles kernels it doesn't ship precompiled and caches them for later sessions. Locally with system gcc, the first
A[:, j]took 0.31 s to compile its kernel; the next call took 0.1 ms.GxB_JIT_ERRORandGxB_OUTPUT_IS_READONLYnow raise readable errors instead of "Unknown GraphBLAS Exception".cconly) uses a temporary cache and checks that a kernel.sois compiled. It is added totest/libutils.jl.jit!is listed in the Utilities docs.Pkg.test()passes locally on Julia nightly.🤖 Generated with Claude Code