Class: OpenCL::Kernel::Arg::AddressQualifier
- Defined in:
- lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb
Overview
Enum that maps the :cl_kernel_arg_address_qualifier type
Constant Summary collapse
- GLOBAL =
0x119B- LOCAL =
0x119C- CONSTANT =
0x119D- PRIVATE =
0x119E
Instance Method Summary collapse
-
#name ⇒ Object
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
Returns a String representing the Enum value name
3182 3183 3184 |
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 3182 def name return @@codes[@val] end |