Skip to content

Commit

Permalink
Recompile invalidations post LoopVectorization
Browse files Browse the repository at this point in the history
This captures all of the issues introduced by SparseArrays and LoopVectorization and starts us afresh. The precompile time change is not noticable.
  • Loading branch information
ChrisRackauckas committed Sep 18, 2023
1 parent 82a4be5 commit 64b302c
Showing 1 changed file with 36 additions and 31 deletions.
67 changes: 36 additions & 31 deletions src/LinearSolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,42 @@ if isdefined(Base, :Experimental) &&
isdefined(Base.Experimental, Symbol("@max_methods"))
@eval Base.Experimental.@max_methods 1
end
using ArrayInterface
using RecursiveFactorization
using Base: cache_dependencies, Bool
using LinearAlgebra
using SparseArrays
using SparseArrays: AbstractSparseMatrixCSC, nonzeros, rowvals, getcolptr
using SciMLBase: AbstractLinearAlgorithm
using SciMLOperators
using SciMLOperators: AbstractSciMLOperator, IdentityOperator
using Setfield
using UnPack
using SuiteSparse
using KLU
using Sparspak
using FastLapackInterface
using DocStringExtensions
using EnumX
using Requires
import InteractiveUtils

using LinearAlgebra: BlasInt, LU
using LinearAlgebra.LAPACK: require_one_based_indexing, chkfinite, chkstride1,
@blasfunc, chkargsok

import GPUArraysCore
import Preferences

# wrap
import Krylov

import PrecompileTools

PrecompileTools.@recompile_invalidations begin
using ArrayInterface
using RecursiveFactorization
using Base: cache_dependencies, Bool
using LinearAlgebra
using SparseArrays
using SparseArrays: AbstractSparseMatrixCSC, nonzeros, rowvals, getcolptr
using SciMLBase: AbstractLinearAlgorithm
using SciMLOperators
using SciMLOperators: AbstractSciMLOperator, IdentityOperator
using Setfield
using UnPack
using SuiteSparse
using KLU
using Sparspak
using FastLapackInterface
using DocStringExtensions
using EnumX
using Requires
import InteractiveUtils

using LinearAlgebra: BlasInt, LU
using LinearAlgebra.LAPACK: require_one_based_indexing, chkfinite, chkstride1,
@blasfunc, chkargsok

import GPUArraysCore
import Preferences

# wrap
import Krylov

using SciMLBase
end

using Reexport
@reexport using SciMLBase
Expand Down Expand Up @@ -124,8 +131,6 @@ end
const IS_OPENBLAS = Ref(true)
isopenblas() = IS_OPENBLAS[]

import PrecompileTools

PrecompileTools.@compile_workload begin
A = rand(4, 4)
b = rand(4)
Expand Down

0 comments on commit 64b302c

Please sign in to comment.