You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add MKL preference management to autotune system (#706)
* Add MKL preference management to autotune system
- Analyze if MKL algorithms (MKLLUFactorization) perform best in any category
- Write LoadMKL_JLL preference based on benchmark results
- Set to false if MKL is never best to avoid loading unnecessary dependencies
- Set to true if MKL wins in any category to ensure availability
- Add MKL preference display in show_current_preferences
- Include MKL preference clearing in clear_algorithm_preferences
This optimization reduces startup time and memory usage when MKL is not beneficial for the user's workload.
* Delete lib/LinearSolveAutotune/test/test_mkl_preference.jl
* Force enable MKL during benchmarking to ensure availability
- Set LoadMKL_JLL=true before loading LinearSolve in autotune module
- This ensures MKL algorithms are available for benchmarking
- Track the original preference to inform user of temporary change
- Final preference is still set based on benchmark results
- Added documentation explaining this behavior
0 commit comments