cumo 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4689762e94e91b3f359190225d9841fa8af8fb7eeff2aef028a0702b00f0787f
4
- data.tar.gz: 0b3bf965295354246b19c8aaee26eb454d0a54f7a3ec4b01cf893688ce7fd19b
3
+ metadata.gz: a909afef2849be43637539db86170d49f2063e53df43d90e4237b1b7857bb1b0
4
+ data.tar.gz: 831c2071af2e8ac4f5da2506d488d164f90358268dcd8b6b891dc549d387c38b
5
5
  SHA512:
6
- metadata.gz: 0313c37d6a9b19ae026f3831d2d92b160213a3d8a29a8b7bc63c8ef0123e0b5581e6d935c0de2ce9c36c2850820c7afee9fac19e40d6ebdeb6c983766c639ea3
7
- data.tar.gz: 7595ee6b049e4a8697840bf2502db04e93fca86c3604e3bb2ed0505ed0f5c5647148cc1ee0e0cbc71ea63ed9e1592330a9a63c444c41791d9a75c2f4de2396d7
6
+ metadata.gz: fbc6727d8f2fe31292b36c1a962aae090c2ac9d00037b4b04f674ace1e99db49203141966d93cb1689830a66196dc6432ea90501cd70c57a4dff9f47374f1170
7
+ data.tar.gz: '096263752329c9dee63ddd22aaa1658b127c251b08997e728aa3b0304b3243937ba58ef7a2f3096eda5e2cd2afdbb40908bfdbb1169d8f0eec43ad1a76cb0511'
data/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # 0.2.1 (2018-11-12)
2
+
3
+ Enhancements:
4
+
5
+ * Add `CUMO_SHOW_WARNING` and `CUMO_SHOW_WARNING_ONCE` environment variables to suppress cumo warnings.
6
+ * They are only for debug purpose, would be removed in future.
7
+
8
+ # 0.2.0 (2018-11-12)
9
+
10
+ All tests in red-chainer passed.
11
+
12
+ Fixes:
13
+
14
+ * Fix advanced indexing
15
+ * Fix accum\_index reduction (max\_index, and min\_index)
data/README.md CHANGED
@@ -256,7 +256,7 @@ You may want to show warnings everytime rather than once:
256
256
 
257
257
  ```
258
258
  export CUMO_SHOW_WARNING=ON
259
- export CUMO_WARNING_ONCE=OFF
259
+ export CUMO_SHOW_WARNING_ONCE=OFF
260
260
  ```
261
261
 
262
262
  ## Contributing
data/ext/cumo/cumo.c CHANGED
@@ -129,7 +129,7 @@ Init_cumo()
129
129
  cumo_show_warning_enabled = env == NULL || (strcmp(env, "OFF") != 0 && strcmp(env, "0") != 0 && strcmp(env, "NO") != 0);
130
130
 
131
131
  // default is true
132
- env = getenv("CUMO_WARNING_ONCE");
132
+ env = getenv("CUMO_SHOW_WARNING_ONCE");
133
133
  cumo_warning_once_enabled = env == NULL || (strcmp(env, "OFF") != 0 && strcmp(env, "0") != 0 && strcmp(env, "NO") != 0);
134
134
 
135
135
  Init_cumo_narray();
@@ -10,8 +10,8 @@ extern "C" {
10
10
  #endif
11
11
  #endif
12
12
 
13
- #define CUMO_VERSION "0.2.0"
14
- #define CUMO_VERSION_CODE 20
13
+ #define CUMO_VERSION "0.2.1"
14
+ #define CUMO_VERSION_CODE 21
15
15
 
16
16
  bool cumo_compatible_mode_enabled_p();
17
17
  bool cumo_show_warning_enabled_p();
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
@@ -75,6 +75,7 @@ files:
75
75
  - 3rd_party/mkmf-cu/lib/mkmf-cu/nvcc.rb
76
76
  - 3rd_party/mkmf-cu/mkmf-cu.gemspec
77
77
  - 3rd_party/mkmf-cu/test/test_mkmf-cu.rb
78
+ - CHANGELOG.md
78
79
  - CODE_OF_CONDUCT.md
79
80
  - Gemfile
80
81
  - LICENSE.txt