Class: OpenCL::Program::BinaryType

Inherits:
Enum
  • Object
show all
Defined in:
lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb

Overview

Enum that maps the :cl_program_binary_type type

Constant Summary collapse

NONE =

:stopdoc:

0x0
COMPILED_OBJECT =
0x1
LIBRARY =
0x2
EXECUTABLE =
0x4
INTERMEDIATE =
0x40E1

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



1405
1406
1407
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1405

def name
  return @@codes[@val]
end