Skip to content

Commit 88e8f46

Browse files
committed
clean up imports
1 parent 2da34a8 commit 88e8f46

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = "0.12.113"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
8+
ArrayInterfaceCore = "30b0a656-2188-435a-8636-2ec0e6a096e2"
89
ArrayInterfaceOffsetArrays = "015c0d05-e682-4f19-8f0a-679ce4c54826"
910
ArrayInterfaceStaticArrays = "b0d46f97-bff5-4637-a19a-dd75974142cd"
1011
CPUSummary = "2a0fbf3d-bb9c-48f3-b0a9-814d99fd7ab9"
@@ -19,6 +20,7 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1920
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
2021
PolyesterWeave = "1d0040c9-8b98-4ee7-8388-3f51789ca0ad"
2122
SIMDDualNumbers = "3cdde19b-5bb0-4aaf-8931-af3e248e098b"
23+
SIMDTypes = "94e857df-77ce-4151-89e5-788b33177be4"
2224
SLEEFPirates = "476501e8-09a2-5ece-8869-fb82de89a1fa"
2325
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2426
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
@@ -28,6 +30,7 @@ VectorizationBase = "3d5dd08c-fd9d-11e8-17fa-ed2836048c2f"
2830

2931
[compat]
3032
ArrayInterface = "6.0.1"
33+
ArrayInterfaceCore = "0.1.5"
3134
ArrayInterfaceOffsetArrays = "0.1.2"
3235
ArrayInterfaceStaticArrays = "0.1.2"
3336
CPUSummary = "0.1.3 - 0.1.8, 0.1.11"
@@ -41,6 +44,7 @@ LayoutPointers = "0.1.2"
4144
OffsetArrays = "1.4.1"
4245
PolyesterWeave = "0.1"
4346
SIMDDualNumbers = "0.1"
47+
SIMDTypes = "0.1"
4448
SLEEFPirates = "0.6.23"
4549
SpecialFunctions = "1, 2"
4650
Static = "0.3.3, 0.4, 0.6"

src/LoopVectorization.jl

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
module LoopVectorization
22

3-
using Static: StaticInt, gt, static
3+
using ArrayInterfaceCore: UpTri, LoTri
4+
using Static: StaticInt, gt, static, Zero, One, reduce_tup
45
using VectorizationBase,
56
SLEEFPirates, UnPack, OffsetArrays, ArrayInterfaceOffsetArrays, ArrayInterfaceStaticArrays
7+
using LayoutPointers:
8+
AbstractStridedPointer, StridedPointer, StridedBitPointer, grouped_strided_pointer
9+
10+
using SIMDTypes: NativeTypes
11+
612
using VectorizationBase:
713
mask,
814
MM,
915
AbstractMask,
1016
data,
11-
grouped_strided_pointer,
1217
AbstractSIMD,
1318
vzero,
1419
offsetprecalc,
@@ -31,7 +36,6 @@ using VectorizationBase:
3136
maybestaticlast,
3237
gep,
3338
gesp,
34-
NativeTypes, #llvmptr,
3539
vfmadd,
3640
vfmsub,
3741
vfnmadd,
@@ -52,9 +56,6 @@ using VectorizationBase:
5256
vmul_fast,
5357
relu,
5458
stridedpointer,
55-
StridedPointer,
56-
StridedBitPointer,
57-
AbstractStridedPointer,
5859
_vload,
5960
_vstore!,
6061
reduced_add,
@@ -75,7 +76,6 @@ using VectorizationBase:
7576
vminimum,
7677
vany,
7778
vall,
78-
unwrap,
7979
Unroll,
8080
VecUnroll,
8181
preserve_buffer,
@@ -99,7 +99,7 @@ using VectorizationBase:
9999
maybestaticsize#,zero_mask
100100

101101
using HostCPUFeatures:
102-
pick_vector_width, register_size, register_count, has_opmask_registers
102+
pick_vector_width, register_size, register_count, has_opmask_registers, unwrap
103103
using CPUSummary: num_threads, num_cores, cache_linesize, cache_size
104104

105105
using LayoutPointers: stridedpointer_preserve, GroupedStridedPointers
@@ -132,15 +132,10 @@ using ArrayInterface
132132
using ArrayInterface:
133133
OptionallyStaticUnitRange,
134134
OptionallyStaticRange,
135-
Zero,
136-
One,
137135
StaticBool,
138136
True,
139137
False,
140-
reduce_tup,
141138
indices,
142-
UpTri,
143-
LoTri,
144139
strides,
145140
offsets,
146141
size,

0 commit comments

Comments
 (0)