opencl_ruby_ffi 0.94 → 0.95

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,11 @@ require 'ffi'
2
2
 
3
3
  module OpenCL
4
4
  extend FFI::Library
5
- ffi_lib "OpenCL"
5
+ begin
6
+ ffi_lib "OpenCL"
7
+ rescue LoadError => e
8
+ ffi_lib "libOpenCL.so.1"
9
+ end
6
10
  #:stopdoc:
7
11
  SUCCESS = 0
8
12
  DEVICE_NOT_FOUND = -1
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'opencl_ruby_ffi'
3
- s.version = "0.94"
3
+ s.version = "0.95"
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.94'
4
+ version: '0.95'
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-04-02 00:00:00.000000000 Z
12
+ date: 2014-04-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: narray