lib/opencl_ruby_ffi/Kernel.rb
def args
      n = self.num_args
      a = []
      n.times { |i|
        a.push Arg::new(self, i)
      }
      return a
    end
# Returns an Array of Arg corresponding to the arguments of the Kernel
Returns an Array of Arg corresponding to the arguments of the Kernel
Returns an Array of Arg corresponding to the arguments of the Kernel
def args
      n = self.num_args
      a = []
      n.times { |i|
        a.push Arg::new(self, i)
      }
      return a
    end
def args n = self . num_args a = [ ] n . times { | i | a . push Arg :: new ( self , i ) } return a end
Returns an Array of Arg corresponding to the arguments of the Kernel
Returns an Array of Arg corresponding to the arguments of the Kernel