Class: OpenCL::BuildStatus

Inherits:
EnumInt show all
Defined in:
lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb

Overview

Enum that maps the :cl_build_status type

Constant Summary collapse

SUCCESS =

:stopdoc:

0
NONE =
-1
ERROR =
-2
IN_PROGRESS =
-3

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

:startdoc: Returns a String representing the Enum value name



1936
1937
1938
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1936

def name
  return @@codes[@val]
end