Skip to content

orkolorko/SetRoundingLLVM.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SetRoundingLLVM

This is a small module that uses LLVM intrinsics to set the rounding mode for Float64.

This is a workaround for the deprecation of setrounding for Float64, see Deprecate setrounding.

This is specially needed for the implementation of the :fast multiplication of matrices in IntervalLinearAlgebra, which uses directed rounding together with high performance Blas routine to compute enclosures of matrix multiplication.

One feature of the LLVM intrinsic is that they can be used to set the rounding mode on AMDGPU; it may be worth investigating this direction. Discussion at LLVM: Intrinsic for setting rounding mode

Stable Dev Build Status Coverage

About

Rounding routines through llvm intrinsics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages