Skip to content

Commit a4a160f

Browse files
authored
Deprecate LV for Julia >= 1.11-DEV (JuliaSIMD#519)
* Deprecate LV for Julia >= 1.11-DEV * fix for tests to be able to run * README comment and bump version. * esc
1 parent d2f749d commit a4a160f

File tree

7 files changed

+302
-245
lines changed

7 files changed

+302
-245
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LoopVectorization"
22
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
33
authors = ["Chris Elrod <[email protected]>"]
4-
version = "0.12.166"
4+
version = "0.12.167"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

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

15+
# NOTE: Deprecated for Julia v1.11 and above!
16+
17+
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.
18+
1519
## Installation
1620

1721
```julia

ext/ForwardDiffExt.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module ForwardDiffExt
2+
if VERSION < v"1.11-DEV"
23
import ForwardDiff, ChainRulesCore
34
using LoopVectorization, VectorizationBase, SLEEFPirates, ForwardDiff
45

@@ -377,3 +378,4 @@ for f in (:vmapt, :vmapnt, :vmapntt)
377378
end
378379
end
379380
end
381+
end

ext/SpecialFunctionsExt.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module SpecialFunctionsExt
2+
if VERSION < v"1.11-DEV"
23
using SpecialFunctions
34
using LoopVectorization: VectorizationBase
45
using LoopVectorization: AbstractSIMD
56
@inline SpecialFunctions.erf(x::AbstractSIMD) = VectorizationBase.verf(float(x))
67
end
8+
end

0 commit comments

Comments
 (0)