Class: OpenCL::CommandExecutionStatus
- Defined in:
- lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb
Overview
Enum that maps the command execution status logical type
Constant Summary collapse
- COMPLETE =
:stopdoc:
0x0- RUNNING =
0x1- SUBMITTED =
0x2- QUEUED =
0x3
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
1954 1955 1956 |
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1954 def name return @@codes[@val] end |