BOAST 0.9992 → 0.9993
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/CKernel.rb +11 -1
- metadata +2 -2
data/BOAST.gemspec
CHANGED
data/lib/BOAST/CKernel.rb
CHANGED
@@ -297,7 +297,17 @@ module BOAST
|
|
297
297
|
@context = OpenCL::create_context([device])
|
298
298
|
program = @context.create_program_with_source([@code.string])
|
299
299
|
opts = options[:CLFLAGS]
|
300
|
-
|
300
|
+
begin
|
301
|
+
program.build(:options => options[:CLFLAGS])
|
302
|
+
rescue OpenCL::Error => e
|
303
|
+
puts e.to_s
|
304
|
+
puts prog.build_status
|
305
|
+
puts prog.build_log
|
306
|
+
if options[:verbose] or BOAST::get_verbose then
|
307
|
+
puts @code.string
|
308
|
+
end
|
309
|
+
raise "OpenCL Failed to build #{@procedure.name}"
|
310
|
+
end
|
301
311
|
if options[:verbose] or BOAST::get_verbose then
|
302
312
|
program.build_log.each {|dev,log|
|
303
313
|
puts "#{device.name}: #{log}"
|
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.9993'
|
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-08-
|
12
|
+
date: 2014-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: narray
|