Skip to content

Commit

Permalink
Merge pull request #12 from ctkelley/main
Browse files Browse the repository at this point in the history
Spelling fix
  • Loading branch information
ctkelley authored Apr 20, 2024
2 parents 3d400a9 + 7c2ea6c commit b7c85c1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Binary file modified Publications_and_Presentations/MPArray.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/src/MPArray.bib
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ @article{HighamMary

@misc{ctk:mparraysdocs,
author="C. T. Kelley",
title="Using {MultiPrecisonArrays.jl}: {I}terative Refinement in {J}ulia",
title="Using {MultiPrecisionArrays.jl}: {I}terative Refinement in {J}ulia",
year=2024,
archivePrefix={arXiv},
primaryClass={math.NA},
Expand Down
4 changes: 2 additions & 2 deletions src/MultiPrecisionArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ end
#
# hlu and hlu! are hacks of the Julia generic_lu source. I've used
# Polyester.jl to thread them and done some tweaking. On
# my Mac M2 Pro with 8 performace cores I'm seeing a 10x speedup
# my Mac M2 Pro with 8 performance cores I'm seeing a 10x speedup
# over where I was before and seem to be using the hardware support
# for half precision as well as I can. I am still 5x slower than
# the LAPACK double precision LU, so there's a factor of 20 out there
Expand Down Expand Up @@ -146,7 +146,7 @@ export mpcholesky!
# export MPhatv
# export MPhptv
#
# The data structres for statistics are almost surely not
# The data structures for statistics are almost surely not
# interesting to anyone but me. I will document how one can
# use the solvers to get the stats sooner or later.
#
Expand Down
2 changes: 1 addition & 1 deletion src/Solvers/IRTriangle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ IRTriangle!(AF::Union{MPLFact,MPLEFact,MPHFact}, r, rs, verbose)
This is the solve phase using the factorization object (AFS) you get
from a multiprecision LU factorization.
Solve for the defect by quering on_the_fly
Solve for the defect by querying on_the_fly
to figure out if we can do the triangular solves entirely in low precision.
If on_the_fly(AF) == false, then demote the residual and solve in low
Expand Down
2 changes: 1 addition & 1 deletion src/Structs4MP/MPGArray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ MPGArray(AH::AbstractArray{Float64,2}; basissize=10, TF=Float32)
An MPGArray stores the high precision matrix, the low precision factorization,
the Krylov basis, and a few other things GMRES needs. If the high precision
matrix is double, the low precision is single by default. Half is an optioin
matrix is double, the low precision is single by default. Half is an option
which you get with TF=Float16.
"""
function MPGArray(AH::AbstractArray{Float64,2}; basissize=10, TF=Float32)
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ end
@test hvse(128)
end

@testset "High Residual Precsion" begin
@testset "High Residual Precision" begin
@test hi_precision_res()
end

0 comments on commit b7c85c1

Please sign in to comment.