Skip to content

Commit 05170b2

Browse files
committed
drop LV 0.8, Julia 1.4
1 parent d320a56 commit 05170b2

File tree

4 files changed

+17
-22
lines changed

4 files changed

+17
-22
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ env:
33
# SECRET_CODECOV_TOKEN: "..."
44

55
steps:
6-
- label: "Julia 1.5"
6+
- label: "Julia 1.6"
77
plugins:
88
- JuliaCI/julia#v0.5:
9-
version: 1.5
9+
version: 1.6
1010
- JuliaCI/julia-test#v0.3: ~
1111
# - JuliaCI/julia-coverage#v0.3:
1212
# codecov: true

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- '1'
2727
# - '6' # t>2 might be ignored on Julia <= 1.5
2828
version:
29-
# - '1.4'
29+
- '1.5'
3030
- '1' # automatically expands to the latest stable 1.x release of Julia
3131
steps:
3232
- uses: actions/checkout@v2

Project.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
name = "Tullio"
22
uuid = "bc48ee85-29a4-5162-ae0b-a64e1601d4bc"
33
authors = ["Michael Abbott"]
4-
version = "0.2.13"
4+
version = "0.3.0"
55

66
[deps]
77
DiffRules = "b552c78f-8df3-52c6-915a-8e097449b14b"
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
99
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1010

1111
[compat]
12-
CUDA = "1, 2"
12+
CUDA = "2"
1313
CUDAKernels = "0.1"
1414
DiffRules = "1"
15-
FillArrays = "0.10"
15+
FillArrays = "0.10, 0.11"
1616
ForwardDiff = "0.10"
1717
KernelAbstractions = "0.6"
18-
LoopVectorization = "0.8.26, 0.12.7"
18+
LoopVectorization = "0.12.12"
1919
NamedDims = "0.2"
2020
OffsetArrays = "1"
2121
Requires = "1"
2222
TensorOperations = "3"
2323
Tracker = "0.2"
24-
VectorizationBase = "0.12.33, 0.19.25"
25-
Zygote = "0.6"
26-
julia = "1.3"
24+
VectorizationBase = "0.19.25"
25+
Zygote = "0.6.9"
26+
julia = "1.5"
2727

2828
[extras]
2929
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"

src/eval.jl

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,13 @@ using Requires
5151

5252
@inline anyone(cond::Bool) = cond
5353

54+
#=
55+
5456
@init @require LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890" begin
55-
using .LoopVectorization
56-
if isdefined(LoopVectorization, :SVec) # version 0.8, for Julia ⩽1.5
57-
using .LoopVectorization.VectorizationBase: SVec, Mask, prevpow2
58-
@require ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" begin
59-
# Dual numbers + svec, not needed on version 0.9
60-
include("grad/avxdual.jl")
61-
end
62-
else # version 0.9, supports Julia 1.6
63-
using .LoopVectorization.VectorizationBase: Vec, Mask, prevpow2
64-
SVec{N,T} = Vec{N,T}
57+
using .LoopVectorization # version 0.9+ only now
58+
using .LoopVectorization.VectorizationBase: Vec, Mask, prevpow2
59+
SVec{N,T} = Vec{N,T}
6560
end
66-
#=
6761
# Functions needed for safe vectorised max gradient
6862
@inline Tullio.onlyone(cond::Bool, seen::SVec) = cond && allzero(seen)
6963
@@ -75,9 +69,10 @@ using Requires
7569
@inline allzero(seen::SVec) = iszero((!iszero(seen)).u)
7670
7771
@inline Tullio.anyone(cond::Mask) = !iszero(cond.u)
78-
=#
7972
end
8073
74+
=#
75+
8176
#========== CuArrays ==========#
8277

8378
using Requires

0 commit comments

Comments
 (0)