class CrOpenCL::Device

Defined in:

crOpenCL/device.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(id : UInt64) #

[View source]

Class Method Detail

def self.all(platform : Platform, device_type = DeviceTypes::All) #

[View source]
def self.each(platform : Platform, device_type = DeviceTypes::All, &) #

[View source]

Instance Method Detail

def c_version : String #

[View source]
def hardware_version : String #

[View source]
def max_compute_units : UInt32 #

[View source]
def max_work_group_size : UInt64 #

[View source]
def name : String #

[View source]
def software_version : String #

[View source]
def to_unsafe : UInt64 #

[View source]