lib/opencl_ruby_ffi/Device.rb
# returs a floating point number corresponding to the OpenCL version of the Device
returs a floating point number corresponding to the OpenCL version of the Device
returs a floating point number corresponding to the OpenCL version of the Device
def version_number
      ver = self.version
      n = ver.scan(/OpenCL (\d+\.\d+)/)
      return n.first.first.to_f
    end
def version_number ver = self . version n = ver . scan ( / OpenCL ( \d + \. \d +) / ) return n . first . first . to_f end
returs a floating point number corresponding to the OpenCL version of the Device
returs a floating point number corresponding to the OpenCL version of the Device