cumo 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/ext/cumo/include/cumo.h +2 -2
- data/ext/cumo/narray/gen/tmpl_bit/each_with_index.c +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70d293413c9e97cb0f0d02aae762e2570cade21499eb11376b3e73e66a1cd6e1
|
4
|
+
data.tar.gz: 541bd5a8a78bd0df209491ee0dc971ec87b62de313d1a04d44fac8448e719c1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e16780f32a786191a98f8e87696ac7fcde9493e6d75bf9d35ad5b1df04965b49443cfc22f7f180245ae63f09690fdfb407565a8203e8765086226b17f0620207
|
7
|
+
data.tar.gz: cb71111b650bff86d62d51141a440837c431f5e5a441ce2c95555c6101a89ddb33e033bff053af5b53af3a3cdaa771f074dc300ca7d2442c2f432b6df3bf2bdc
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# 0.3.5 (2019-05-04)
|
2
|
+
|
3
|
+
Fixes:
|
4
|
+
|
5
|
+
* Fix `each_with_index` to synchronize on each element
|
6
|
+
|
1
7
|
# 0.3.4 (2019-05-04)
|
2
8
|
|
3
9
|
Enhancements:
|
@@ -8,7 +14,7 @@ Enhancements:
|
|
8
14
|
|
9
15
|
Fixes:
|
10
16
|
|
11
|
-
* Fix each
|
17
|
+
* Fix each to synchronize on each element
|
12
18
|
|
13
19
|
# 0.3.2 (2019-05-02)
|
14
20
|
|
data/ext/cumo/include/cumo.h
CHANGED
@@ -34,16 +34,17 @@ static void
|
|
34
34
|
c[nd] = 0;
|
35
35
|
|
36
36
|
CUMO_SHOW_SYNCHRONIZE_WARNING_ONCE("<%=name%>", "<%=type_name%>");
|
37
|
-
cumo_cuda_runtime_check_status(cudaDeviceSynchronize());
|
38
37
|
|
39
38
|
if (idx1) {
|
40
39
|
for (; i--;) {
|
40
|
+
cumo_cuda_runtime_check_status(cudaDeviceSynchronize());
|
41
41
|
CUMO_LOAD_BIT(a1, p1+*idx1, x); idx1++;
|
42
42
|
yield_each_with_index(x,c,a,nd,md);
|
43
43
|
c[nd]++;
|
44
44
|
}
|
45
45
|
} else {
|
46
46
|
for (; i--;) {
|
47
|
+
cumo_cuda_runtime_check_status(cudaDeviceSynchronize());
|
47
48
|
CUMO_LOAD_BIT(a1, p1, x); p1+=s1;
|
48
49
|
yield_each_with_index(x,c,a,nd,md);
|
49
50
|
c[nd]++;
|