opencl_ruby_ffi 0.92 → 0.93

Sign up to get free protection for your applications and to get access to all the features.
@@ -1931,7 +1931,7 @@ module OpenCL
1931
1931
  attach_function :clEnqueueBarrierWithWaitList, [CommandQueue,:cl_uint,:pointer,:pointer], :cl_int
1932
1932
  attach_function :clGetExtensionFunctionAddressForPlatform, [Platform,:pointer], :pointer
1933
1933
  attach_function :clCreateFromGLTexture, [Context,:cl_mem_flags,:cl_GLenum,:cl_GLint,:cl_GLuint,:pointer], Mem
1934
- rescue
1935
- STDERR.puts "Warning OpenCL 1.1 loader detected"
1934
+ rescue FFI::NotFoundError => e
1935
+ STDERR.puts "Warning OpenCL 1.1 loader detected!"
1936
1936
  end
1937
1937
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'opencl_ruby_ffi'
3
- s.version = "0.92"
3
+ s.version = "0.93"
4
4
  s.author = "Brice Videau"
5
5
  s.email = "brice.videau@imag.fr"
6
6
  s.homepage = "https://forge.imag.fr/projects/opencl-ruby/"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opencl_ruby_ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.92'
4
+ version: '0.93'
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-03-31 00:00:00.000000000 Z
12
+ date: 2014-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: narray