Module: OpenCL::Device::AMDDeviceAttributeQuery
- Included in:
- OpenCL::Device
- Defined in:
- lib/opencl_ruby_ffi/amd/device_attribute_query.rb
Defined Under Namespace
Classes: AMDTopology
Instance Method Summary collapse
-
#available_async_queues_amd ⇒ Object
Returns the OpenCL::Device::available_async_queues_amd info.
-
#board_name_amd ⇒ Object
Returns the OpenCL::Device::board_name_amd info.
-
#gfxip_major_amd ⇒ Object
Returns the OpenCL::Device::gfxip_major_amd info.
-
#gfxip_minor_amd ⇒ Object
Returns the OpenCL::Device::gfxip_minor_amd info.
-
#global_free_memory_amd ⇒ Object
Returns the OpenCL::Device::global_free_memory_amd info.
-
#global_mem_channel_bank_width_amd ⇒ Object
Returns the OpenCL::Device::global_mem_channel_bank_width_amd info.
-
#global_mem_channel_banks_amd ⇒ Object
Returns the OpenCL::Device::global_mem_channel_banks_amd info.
-
#global_mem_channels_amd ⇒ Object
Returns the OpenCL::Device::global_mem_channels_amd info.
-
#local_mem_banks_amd ⇒ Object
Returns the OpenCL::Device::local_mem_banks_amd info.
-
#local_mem_size_per_compute_unit_amd ⇒ Object
Returns the OpenCL::Device::local_mem_size_per_compute_unit_amd info.
-
#profiling_timer_offset_amd ⇒ Object
Returns the OpenCL::Device::profiling_timer_offset_amd info.
-
#simd_instruction_width_amd ⇒ Object
Returns the OpenCL::Device::simd_instruction_width_amd info.
-
#simd_per_compute_unit_amd ⇒ Object
Returns the OpenCL::Device::simd_per_compute_unit_amd info.
-
#simd_width_amd ⇒ Object
Returns the OpenCL::Device::simd_width_amd info.
-
#thread_trace_supported_amd ⇒ Object
Returns the OpenCL::Device::thread_trace_supported_amd info.
- #topology_amd ⇒ Object
-
#wavefront_width_amd ⇒ Object
Returns the OpenCL::Device::wavefront_width_amd info.
Instance Method Details
#available_async_queues_amd ⇒ Object
Returns the OpenCL::Device::available_async_queues_amd info
78 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 78 get_info("Device", :cl_uint, "available_async_queues_amd") |
#board_name_amd ⇒ Object
Returns the OpenCL::Device::board_name_amd info
64 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 64 get_info("Device", :string, "board_name_amd") |
#gfxip_major_amd ⇒ Object
Returns the OpenCL::Device::gfxip_major_amd info
76 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 76 get_info("Device", :cl_uint, "gfxip_major_amd") |
#gfxip_minor_amd ⇒ Object
Returns the OpenCL::Device::gfxip_minor_amd info
77 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 77 get_info("Device", :cl_uint, "gfxip_minor_amd") |
#global_free_memory_amd ⇒ Object
Returns the OpenCL::Device::global_free_memory_amd info
84 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 84 get_info_array("Device", :size_t, "global_free_memory_amd") |
#global_mem_channel_bank_width_amd ⇒ Object
Returns the OpenCL::Device::global_mem_channel_bank_width_amd info
74 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 74 get_info("Device", :cl_uint, "global_mem_channel_bank_width_amd") |
#global_mem_channel_banks_amd ⇒ Object
Returns the OpenCL::Device::global_mem_channel_banks_amd info
73 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 73 get_info("Device", :cl_uint, "global_mem_channel_banks_amd") |
#global_mem_channels_amd ⇒ Object
Returns the OpenCL::Device::global_mem_channels_amd info
72 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 72 get_info("Device", :cl_uint, "global_mem_channels_amd") |
#local_mem_banks_amd ⇒ Object
Returns the OpenCL::Device::local_mem_banks_amd info
75 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 75 get_info("Device", :cl_uint, "local_mem_banks_amd") |
#local_mem_size_per_compute_unit_amd ⇒ Object
Returns the OpenCL::Device::local_mem_size_per_compute_unit_amd info
82 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 82 get_info("Device", :size_t, "local_mem_size_per_compute_unit_amd") |
#profiling_timer_offset_amd ⇒ Object
Returns the OpenCL::Device::profiling_timer_offset_amd info
66 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 66 get_info("Device", :cl_ulong, "profiling_timer_offset_amd") |
#simd_instruction_width_amd ⇒ Object
Returns the OpenCL::Device::simd_instruction_width_amd info
70 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 70 get_info("Device", :cl_uint, "simd_instruction_width_amd") |
#simd_per_compute_unit_amd ⇒ Object
Returns the OpenCL::Device::simd_per_compute_unit_amd info
68 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 68 get_info("Device", :cl_uint, "simd_per_compute_unit_amd") |
#simd_width_amd ⇒ Object
Returns the OpenCL::Device::simd_width_amd info
69 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 69 get_info("Device", :cl_uint, "simd_width_amd") |
#thread_trace_supported_amd ⇒ Object
Returns the OpenCL::Device::thread_trace_supported_amd info
80 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 80 get_info("Device", :cl_bool, "thread_trace_supported_amd") |
#topology_amd ⇒ Object
86 87 88 89 90 91 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 86 def topology_amd ptr1 = MemoryPointer::new( AMDTopology ) error = OpenCL.clGetDeviceInfo(self, TOPOLOGY_AMD, ptr1.size, ptr1, nil) error_check(error) return AMDTopology::new(ptr1) end |
#wavefront_width_amd ⇒ Object
Returns the OpenCL::Device::wavefront_width_amd info
71 |
# File 'lib/opencl_ruby_ffi/amd/device_attribute_query.rb', line 71 get_info("Device", :cl_uint, "wavefront_width_amd") |