Class: OpenCL::Device::LocalMemType

Inherits:
Enum
  • Object
show all
Defined in:
lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb

Overview

Enum that maps the :cl_device_local_mem_type type

Constant Summary collapse

LOCAL =
0x1
GLOBAL =
0x2

Instance Method Summary collapse

Methods inherited from Enum

#==, #initialize, #is?, #to_i, #to_int, #to_s, #val=

Constructor Details

This class inherits a constructor from OpenCL::Enum

Instance Method Details

#nameObject

Returns a String representing the Enum value name



2725
2726
2727
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 2725

def name
  return @@codes[@val]
end