Class: OpenCL::Kernel::Arg::AddressQualifier

Inherits:
Enum
  • Object
show all
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 =

:stopdoc:

0x119B
LOCAL =
0x119C
CONSTANT =
0x119D
PRIVATE =
0x119E

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



1514
1515
1516
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1514

def name
  return @@codes[@val]
end