class ComputeUnit::Asic
Constants
- DEVICE_CLASS_NAME
Public Class Methods
create_from_path(device_path, index)
click to toggle source
# File lib/compute_unit/asic.rb, line 12 def self.create_from_path(device_path, index) opts = { device_class_id: device_class(device_path), device_id: device(device_path), device_vendor_id: device_vendor(device_path), subsystem_vendor_id: subsystem_vendor(device_path), subsystem_device_id: subsystem_device(device_path), index: index } new(device_path, opts) end
find_all()
click to toggle source
# File lib/compute_unit/asic.rb, line 8 def self.find_all [] end