Class: OpenCL::Mem::Type
- Defined in:
- lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb
Overview
Enum that maps the :cl_mem_object_type
Constant Summary collapse
- BUFFER =
:stopdoc:
0x10F0
- IMAGE2D =
0x10F1
- IMAGE3D =
0x10F2
- IMAGE2D_ARRAY =
0x10F3
- IMAGE1D =
0x10F4
- IMAGE1D_ARRAY =
0x10F5
- IMAGE1D_BUFFER =
0x10F6
- PIPE =
0x10F7
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
1313 1314 1315 |
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1313 def name return @@codes[@val] end |