BOAST 0.91 → 0.92
Sign up to get free protection for your applications and to get access to all the features.
- data/BOAST.gemspec +1 -1
- data/lib/BOAST/Algorithm.rb +8 -1
- metadata +2 -2
data/BOAST.gemspec
CHANGED
data/lib/BOAST/Algorithm.rb
CHANGED
@@ -8,8 +8,15 @@ module BOAST
|
|
8
8
|
CUDA = 4
|
9
9
|
X86 = 1
|
10
10
|
ARM = 2
|
11
|
+
|
12
|
+
def BOAST::get_default_lang
|
13
|
+
lang = BOAST::const_get(ENV["BOAST_LANG"]) if ENV["BOAST_LANG"]
|
14
|
+
return lang if lang
|
15
|
+
return BOAST::FORTRAN
|
16
|
+
end
|
17
|
+
|
11
18
|
@@output = STDOUT
|
12
|
-
@@lang =
|
19
|
+
@@lang = BOAST::get_default_lang
|
13
20
|
@@replace_constants = true
|
14
21
|
@@default_int_size = 4
|
15
22
|
@@default_int_signed = true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: BOAST
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.92'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-06-
|
12
|
+
date: 2014-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: narray
|