Module: OpenCL::Device::KHRDeviceUUID
- Included in:
- OpenCL::Device
- Defined in:
- lib/opencl_ruby_ffi/khr/device_uuid.rb
Instance Method Summary collapse
- #driver_uuid_khr ⇒ Object
- #luid_khr ⇒ Object
-
#luid_valid_khr ⇒ Object
Returns the OpenCL::Device::luid_valid_khr info.
-
#node_mask_khr ⇒ Object
Returns the OpenCL::Device::node_mask_khr info.
- #uuid_khr ⇒ Object
Instance Method Details
#driver_uuid_khr ⇒ Object
102 103 104 105 106 107 |
# File 'lib/opencl_ruby_ffi/khr/device_uuid.rb', line 102 def driver_uuid_khr id = UUID.new error = OpenCL.clGetDeviceInfo( self, DRIVER_UUID_KHR, UUID_SIZE_KHR, id, nil) error_check(error) return id end |
#luid_khr ⇒ Object
109 110 111 112 113 114 |
# File 'lib/opencl_ruby_ffi/khr/device_uuid.rb', line 109 def luid_khr id = LUID.new error = OpenCL.clGetDeviceInfo( self, LUID_KHR, LUID_SIZE_KHR, id, nil) error_check(error) return id end |
#luid_valid_khr ⇒ Object
Returns the OpenCL::Device::luid_valid_khr info
92 |
# File 'lib/opencl_ruby_ffi/khr/device_uuid.rb', line 92 get_info("Device", :cl_bool, "luid_valid_khr") |
#node_mask_khr ⇒ Object
Returns the OpenCL::Device::node_mask_khr info
93 |
# File 'lib/opencl_ruby_ffi/khr/device_uuid.rb', line 93 get_info("Device", :cl_uint, "node_mask_khr") |
#uuid_khr ⇒ Object
95 96 97 98 99 100 |
# File 'lib/opencl_ruby_ffi/khr/device_uuid.rb', line 95 def uuid_khr id = UUID.new error = OpenCL.clGetDeviceInfo( self, UUID_KHR, UUID_SIZE_KHR, id, nil) error_check(error) return id end |