File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 726
726
(\ )(F:: TransposeFactorization{T,<:LU} , B:: VecOrMat{Complex{T}} ) where {T<: BlasReal } =
727
727
ldiv (F, B)
728
728
729
+ const default_peakflops_size = Int === Int32 ? 2048 : 4096
730
+
729
731
"""
730
732
LinearAlgebra.peakflops(n::Integer=4096; eltype::DataType=Float64, ntrials::Integer=3, parallel::Bool=false)
731
733
@@ -750,7 +752,7 @@ of the problem that is solved on each processor.
750
752
This function requires at least Julia 1.1. In Julia 1.0 it is available from
751
753
the standard library `InteractiveUtils`.
752
754
"""
753
- function peakflops (n:: Integer = 4096 ; eltype:: DataType = Float64, ntrials:: Integer = 3 , parallel:: Bool = false )
755
+ function peakflops (n:: Integer = default_peakflops_size ; eltype:: DataType = Float64, ntrials:: Integer = 3 , parallel:: Bool = false )
754
756
t = zeros (Float64, ntrials)
755
757
for i= 1 : ntrials
756
758
a = ones (eltype,n,n)
You can’t perform that action at this time.
0 commit comments