BOAST 0.998 → 0.999

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/BOAST.gemspec +1 -1
  2. data/lib/BOAST/CKernel.rb +2 -2
  3. metadata +1 -1
data/BOAST.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'BOAST'
3
- s.version = "0.998"
3
+ s.version = "0.999"
4
4
  s.author = "Brice Videau"
5
5
  s.email = "brice.videau@imag.fr"
6
6
  s.homepage = "https://forge.imag.fr/projects/boast/"
data/lib/BOAST/CKernel.rb CHANGED
@@ -279,7 +279,7 @@ module BOAST
279
279
  program.build(:options => options[:CLFLAGS])
280
280
  if options[:verbose] then
281
281
  program.build_log.each {|dev,log|
282
- STDERR.puts "#{device.name}: #{log}"
282
+ puts "#{device.name}: #{log}"
283
283
  }
284
284
  end
285
285
  @queue = @context.create_command_queue(device, :properties => OpenCL::CommandQueue::PROFILING_ENABLE)
@@ -644,7 +644,7 @@ EOF
644
644
  size_t array_size;
645
645
  Data_Get_Struct(rb_ptr, struct NARRAY, n_ary);
646
646
  array_size = n_ary->total * na_sizeof[n_ary->type];
647
- cudaMemcpy(#{param.name}, (void *) n_ary->ptr, array_size, cudaMemcpyDeviceToHost);
647
+ cudaMemcpy((void *) n_ary->ptr, #{param.name}, array_size, cudaMemcpyDeviceToHost);
648
648
  EOF
649
649
  end
650
650
  module_file.print <<EOF
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.998'
4
+ version: '0.999'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: