Skip to content

Commit

Permalink
Revert "Deprecate LV for Julia >= 1.11-DEV (JuliaSIMD#519)"
Browse files Browse the repository at this point in the history
This reverts commit a4a160f.
  • Loading branch information
maleadt committed Jan 6, 2024
1 parent edfaba7 commit fc0390a
Show file tree
Hide file tree
Showing 5 changed files with 242 additions and 291 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

[![LoopVectorization Downloads](https://shields.io/endpoint?url=https://pkgs.genieframework.com/api/v1/badge/LoopVectorization)](https://pkgs.genieframework.com?packages=LoopVectorization)

# NOTE: Deprecated for Julia v1.11 and above!

LoopVectorization only works for Julia 1.3 through 1.10. For 1.11 and newer, it simply uses `@inbounds @fastmath` instead, so it should still get roughly the same answer, but both runtime and compile time performance may change dramatically.

## Installation

```julia
Expand Down
2 changes: 0 additions & 2 deletions ext/ForwardDiffExt.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module ForwardDiffExt
if VERSION < v"1.11-DEV"
import ForwardDiff, ChainRulesCore
using LoopVectorization, VectorizationBase, SLEEFPirates, ForwardDiff

Expand Down Expand Up @@ -378,4 +377,3 @@ for f in (:vmapt, :vmapnt, :vmapntt)
end
end
end
end
2 changes: 0 additions & 2 deletions ext/SpecialFunctionsExt.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module SpecialFunctionsExt
if VERSION < v"1.11-DEV"
using SpecialFunctions
using LoopVectorization: VectorizationBase
using LoopVectorization: AbstractSIMD
@inline SpecialFunctions.erf(x::AbstractSIMD) = VectorizationBase.verf(float(x))
end
end
Loading

0 comments on commit fc0390a

Please sign in to comment.