Class: OpenCL::Kernel::Arg::AccessQualifier

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_access_qualifier type

Constant Summary collapse

READ_ONLY =

:stopdoc:

0x11A0
WRITE_ONLY =
0x11A1
READ_WRITE =
0x11A2
NONE =
0x11A3

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



1532
1533
1534
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1532

def name
  return @@codes[@val]
end