lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb
def names
        fs = []
        %w( OUT_OF_ORDER_EXEC_MODE_ENABLE PROFILING_ENABLE ON_DEVICE ON_DEVICE_DEFAULT ).each { |f|
          fs.push(f) if self.include?( self.class.const_get(f) )
        }
        return fs
      end
# Returns an Array of String representing the different flags set
Returns an Array of String representing the different flags set
Returns an Array of String representing the different flags set
def names
        fs = []
        %w( OUT_OF_ORDER_EXEC_MODE_ENABLE PROFILING_ENABLE ON_DEVICE ON_DEVICE_DEFAULT ).each { |f|
          fs.push(f) if self.include?( self.class.const_get(f) )
        }
        return fs
      end
def names fs = [ ] %w( OUT_OF_ORDER_EXEC_MODE_ENABLE PROFILING_ENABLE ON_DEVICE ON_DEVICE_DEFAULT ) . each { | f | fs . push ( f ) if self . include? ( self . class . const_get ( f ) ) } return fs end
Returns an Array of String representing the different flags set
Returns an Array of String representing the different flags set