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