Commit 2f86c16
Fix MKLLUFactorization JET test by using target_modules parameter
The JET test for MKLLUFactorization was failing due to runtime dispatches
detected in Base stdlib code (Base.show, string interpolation, etc.) that
are not performance-critical and outside of LinearSolve's control.
This commit adds the `target_modules=(LinearSolve, SciMLBase)` parameter
to focus JET's type stability analysis on LinearSolve code only, filtering
out false positives from stdlib runtime dispatches while still catching
real type stability issues in the core solver.
Changes:
- test/nopre/jet.jl: Add target_modules parameter to MKLLUFactorization JET test
- Updated comment to explain why target_modules is needed
Benefits:
- JET test now passes reliably across all systems
- Still catches real type stability issues in LinearSolve code
- Avoids false positives from acceptable stdlib runtime dispatches
- No changes to production code required
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d9b3a96 commit 2f86c16
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | | - | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
0 commit comments