-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add preliminary
ignore_throw
support
This allows us to filter allocations that occur only when throwing errors in called functions. Before this change: ```julia julia> check_allocs(*, (Matrix{Float64},Matrix{Float64})) 20-element Vector{AllocCheck.AllocInstance}: ... ``` After: ```julia julia> check_allocs(*, (Matrix{Float64},Matrix{Float64}); ignore_throw=true) 1-element Vector{AllocCheck.AllocInstance}: Allocation of Matrix{Float64} in ./boot.jl:477 | Array{T,2}(::UndefInitializer, m::Int, n::Int) where {T} = Stacktrace: [1] Array @ ./boot.jl:477 [inlined] [2] Array @ ./boot.jl:485 [inlined] [3] similar @ ./array.jl:418 [inlined] [4] *(A::Matrix{Float64}, B::Matrix{Float64}) @ LinearAlgebra ~/.julia/juliaup/julia-1.10.0-beta2+0.x64.linux.gnu/share/julia/stdlib/v1.10/LinearAlgebra/src/matmul.jl:113 ```
- Loading branch information
1 parent
44fda20
commit 1f8df2a
Showing
4 changed files
with
50 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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