opencl_ruby_ffi 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2645c79e0810239777cc71b79aabd6f18acbef7
4
- data.tar.gz: ffdac1beda72820571e3da72e6bda73a6f3ffadb
3
+ metadata.gz: 3da147b1b6ee1301a55b8101c54b79d047e080e9
4
+ data.tar.gz: f99e42e63b21a195ac80653093fe6deb24a79c0c
5
5
  SHA512:
6
- metadata.gz: 653882422b4ee2f70d03d87ceff551025ae39e36f23e36e7f149247eb5b9d6d37ee6e863280777fefda1fce3fa9306acbc3853d8fce12cde424a8ad15083e281
7
- data.tar.gz: 79b104258b167f211f178fd1b755372070e4f4f74afa67901d43c376d328407bda217cc7edd4c3b270fedbbf4bbaebe2cfb55396f292a3ee50a409823d560f99
6
+ metadata.gz: fbefcbc0ed03ca736b67202e294704af7568631a1d799b557f6fdbe36162e1a93ba9dd26854278627b9957e831e21ffab7e7c853246e7b9010a49f545223e01a
7
+ data.tar.gz: cbaaa49c9492fbe065ddc17c813be17329d0b92a5738533f4eb13366b4ae256c46639790cdbed9d98974c5f9ecb88e841bef8e241d6b18561fc357c49a14fbef
@@ -7,7 +7,7 @@ module OpenCL
7
7
  error_check(error)
8
8
  num_kernels = num_ptr.read_cl_uint
9
9
  kernels_ptr = FFI::MemoryPointer::new( Kernel, num_kernels )
10
- error = clCreateKernelsInProgram( program, num_kernels, kernels_ptr, 0 )
10
+ error = clCreateKernelsInProgram( program, num_kernels, kernels_ptr, nil )
11
11
  error_check(error)
12
12
  return kernels_ptr.get_array_of_pointer(0, num_kernels).collect { |kernel_ptr|
13
13
  Kernel::new(kernel_ptr, false)
@@ -227,7 +227,7 @@ module OpenCL
227
227
  error = OpenCL.clGetProgramInfo( self, KERNEL_NAMES, kernel_names_size.read_size_t, k_names, nil)
228
228
  error_check(error)
229
229
  k_names_string = k_names.read_string
230
- returns k_names_string.split(";")
230
+ return k_names_string.split(";")
231
231
  end
232
232
 
233
233
  # Returns the concatenated Program sources
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'opencl_ruby_ffi'
3
- s.version = "1.0.0"
3
+ s.version = "1.0.1"
4
4
  s.author = "Brice Videau"
5
5
  s.email = "brice.videau@imag.fr"
6
6
  s.homepage = "https://github.com/Nanosim-LIG/opencl-ruby"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opencl_ruby_ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Videau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-21 00:00:00.000000000 Z
11
+ date: 2015-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: narray