Class: OpenCL::Device::MemCacheType
- Defined in:
- lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb
Overview
Enum that maps the :cl_device_mem_cache_type type
Constant Summary collapse
- NONE =
:stopdoc:
0x0- READ_ONLY_CACHE =
0x1- READ_WRITE_CACHE =
0x2
Instance Method Summary collapse
-
#name ⇒ Object
:startdoc: Returns a String representing the Enum value name.
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
#name ⇒ Object
:startdoc: Returns a String representing the Enum value name
1028 1029 1030 |
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1028 def name return @@codes[@val] end |