convolver-light 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/convolver-light.gemspec +1 -1
- data/ext/convolver/arch_detector.h +12 -0
- data/ext/convolver/convolve_raw.h +8 -1
- data/ext/convolver/convolver.c +7 -1
- data/ext/convolver/sse2neon.h +8803 -0
- data/lib/convolver/version.rb +1 -1
- data/spec/convolve_spec.rb +0 -8
- data/spec/helpers.rb +1 -1
- metadata +9 -8
data/lib/convolver/version.rb
CHANGED
data/spec/convolve_spec.rb
CHANGED
@@ -36,14 +36,6 @@ describe Convolver do
|
|
36
36
|
c = Convolver.convolve( a, b )
|
37
37
|
end
|
38
38
|
|
39
|
-
it "should choose #convolve_fftw3 for large inputs" do
|
40
|
-
a = NArray.sfloat(500,500).random()
|
41
|
-
b = NArray.sfloat(100,100).random()
|
42
|
-
expect(Convolver).to receive(:convolve_fftw3).once
|
43
|
-
expect(Convolver).to_not receive(:convolve_basic)
|
44
|
-
c = Convolver.convolve( a, b )
|
45
|
-
end
|
46
|
-
|
47
39
|
end
|
48
40
|
|
49
41
|
end
|
data/spec/helpers.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: convolver-light
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dima Ermilov
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: narray
|
@@ -111,7 +111,7 @@ dependencies:
|
|
111
111
|
description: Simplification of convolver gem, FFTW removed, suitable only for smaller
|
112
112
|
kernels. Convolver gem author is Neil Slater, slobo777@gmail.com, https://github.com/neilslater
|
113
113
|
email:
|
114
|
-
-
|
114
|
+
- wlaer@wlaer.com
|
115
115
|
executables: []
|
116
116
|
extensions:
|
117
117
|
- ext/convolver/extconf.rb
|
@@ -124,12 +124,14 @@ files:
|
|
124
124
|
- README.md
|
125
125
|
- Rakefile
|
126
126
|
- convolver-light.gemspec
|
127
|
+
- ext/convolver/arch_detector.h
|
127
128
|
- ext/convolver/convolve_raw.c
|
128
129
|
- ext/convolver/convolve_raw.h
|
129
130
|
- ext/convolver/convolver.c
|
130
131
|
- ext/convolver/extconf.rb
|
131
132
|
- ext/convolver/narray_shared.c
|
132
133
|
- ext/convolver/narray_shared.h
|
134
|
+
- ext/convolver/sse2neon.h
|
133
135
|
- lib/convolver-light.rb
|
134
136
|
- lib/convolver/version.rb
|
135
137
|
- spec/convolve_basic_spec.rb
|
@@ -139,7 +141,7 @@ homepage: http://github.com/adworse/convolver-light
|
|
139
141
|
licenses:
|
140
142
|
- MIT
|
141
143
|
metadata: {}
|
142
|
-
post_install_message:
|
144
|
+
post_install_message:
|
143
145
|
rdoc_options: []
|
144
146
|
require_paths:
|
145
147
|
- lib
|
@@ -154,9 +156,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
156
|
- !ruby/object:Gem::Version
|
155
157
|
version: '0'
|
156
158
|
requirements: []
|
157
|
-
|
158
|
-
|
159
|
-
signing_key:
|
159
|
+
rubygems_version: 3.0.6
|
160
|
+
signing_key:
|
160
161
|
specification_version: 4
|
161
162
|
summary: Convolution for NArray simplified.
|
162
163
|
test_files:
|