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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 143344d9aa774213541e1e44bbb1f2d65348a2e9a410df67435c83a890db6c14
4
- data.tar.gz: c59b67b28e70ed1421ddfceb6a7928c373634278e3f57a23ad631375e5e3111d
3
+ metadata.gz: 70d293413c9e97cb0f0d02aae762e2570cade21499eb11376b3e73e66a1cd6e1
4
+ data.tar.gz: 541bd5a8a78bd0df209491ee0dc971ec87b62de313d1a04d44fac8448e719c1a
5
5
  SHA512:
6
- metadata.gz: 20dc89053b605cbc3f272fffb28a185885ea00c9d4be8646397e9d51703411118810961e00546b3f83f8984ec18518e796328305437eb1f22c9d4880fd1b4b16
7
- data.tar.gz: 06acfc5740b18994aa4ea1276157098729c57768ef8b7eb1ff65f998959dee7d0f160697127392a02bdcfa9090f4cefa91b53729ec0cdcf0b17c7212a9143da4
6
+ metadata.gz: e16780f32a786191a98f8e87696ac7fcde9493e6d75bf9d35ad5b1df04965b49443cfc22f7f180245ae63f09690fdfb407565a8203e8765086226b17f0620207
7
+ data.tar.gz: cb71111b650bff86d62d51141a440837c431f5e5a441ce2c95555c6101a89ddb33e033bff053af5b53af3a3cdaa771f074dc300ca7d2442c2f432b6df3bf2bdc
@@ -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 and `each_with_index` to synchronize on each element
17
+ * Fix each to synchronize on each element
12
18
 
13
19
  # 0.3.2 (2019-05-02)
14
20
 
@@ -10,8 +10,8 @@ extern "C" {
10
10
  #endif
11
11
  #endif
12
12
 
13
- #define CUMO_VERSION "0.3.4"
14
- #define CUMO_VERSION_CODE 34
13
+ #define CUMO_VERSION "0.3.5"
14
+ #define CUMO_VERSION_CODE 35
15
15
 
16
16
  bool cumo_compatible_mode_enabled_p();
17
17
  bool cumo_show_warning_enabled_p();
@@ -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]++;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cumo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo