[][src]Trait open_cl_low_level::device::DevicePtr

pub trait DevicePtr where
    Self: Debug + Sized
{ unsafe fn device_ptr(&self) -> cl_device_id; fn is_usable(&self) -> bool { ... }
fn usability_check(&self) -> Output<()> { ... }
fn global_mem_cacheline_size(&self) -> Output<u32> { ... }
fn native_vector_width_double(&self) -> Output<u32> { ... }
fn native_vector_width_half(&self) -> Output<u32> { ... }
fn address_bits(&self) -> Output<u32> { ... }
fn max_clock_frequency(&self) -> Output<u32> { ... }
fn max_compute_units(&self) -> Output<u32> { ... }
fn max_constant_args(&self) -> Output<u32> { ... }
fn max_read_image_args(&self) -> Output<u32> { ... }
fn max_samplers(&self) -> Output<u32> { ... }
fn max_work_item_dimensions(&self) -> Output<u32> { ... }
fn max_write_image_args(&self) -> Output<u32> { ... }
fn mem_base_addr_align(&self) -> Output<u32> { ... }
fn min_data_type_align_size(&self) -> Output<u32> { ... }
fn native_vector_width_char(&self) -> Output<u32> { ... }
fn native_vector_width_short(&self) -> Output<u32> { ... }
fn native_vector_width_int(&self) -> Output<u32> { ... }
fn native_vector_width_long(&self) -> Output<u32> { ... }
fn native_vector_width_float(&self) -> Output<u32> { ... }
fn partition_max_sub_devices(&self) -> Output<u32> { ... }
fn preferred_vector_width_char(&self) -> Output<u32> { ... }
fn preferred_vector_width_short(&self) -> Output<u32> { ... }
fn preferred_vector_width_int(&self) -> Output<u32> { ... }
fn preferred_vector_width_long(&self) -> Output<u32> { ... }
fn preferred_vector_width_float(&self) -> Output<u32> { ... }
fn preferred_vector_width_double(&self) -> Output<u32> { ... }
fn preferred_vector_width_half(&self) -> Output<u32> { ... }
fn vendor_id(&self) -> Output<u32> { ... }
fn available(&self) -> Output<bool> { ... }
fn compiler_available(&self) -> Output<bool> { ... }
fn endian_little(&self) -> Output<bool> { ... }
fn error_correction_support(&self) -> Output<bool> { ... }
fn host_unified_memory(&self) -> Output<bool> { ... }
fn image_support(&self) -> Output<bool> { ... }
fn linker_available(&self) -> Output<bool> { ... }
fn preferred_interop_user_sync(&self) -> Output<bool> { ... }
fn name(&self) -> Output<String> { ... }
fn opencl_c_version(&self) -> Output<String> { ... }
fn profile(&self) -> Output<String> { ... }
fn vendor(&self) -> Output<String> { ... }
fn version(&self) -> Output<String> { ... }
fn driver_version(&self) -> Output<String> { ... }
fn global_mem_cache_size(&self) -> Output<u64> { ... }
fn global_mem_size(&self) -> Output<u64> { ... }
fn local_mem_size(&self) -> Output<u64> { ... }
fn max_constant_buffer_size(&self) -> Output<u64> { ... }
fn max_mem_alloc_size(&self) -> Output<u64> { ... }
fn image2d_max_width(&self) -> Output<usize> { ... }
fn image2d_max_height(&self) -> Output<usize> { ... }
fn image3d_max_width(&self) -> Output<usize> { ... }
fn image3d_max_height(&self) -> Output<usize> { ... }
fn image3d_max_depth(&self) -> Output<usize> { ... }
fn image_max_buffer_size(&self) -> Output<usize> { ... }
fn image_max_array_size(&self) -> Output<usize> { ... }
fn max_parameter_size(&self) -> Output<usize> { ... }
fn max_work_group_size(&self) -> Output<usize> { ... }
fn printf_buffer_size(&self) -> Output<usize> { ... }
fn profiling_timer_resolution(&self) -> Output<usize> { ... }
fn max_work_item_sizes(&self) -> Output<Vec<usize>> { ... }
fn local_mem_type(&self) -> Output<DeviceLocalMemType> { ... }
fn execution_capabilities(&self) -> Output<DeviceExecCapabilities> { ... }
fn global_mem_cache_type(&self) -> Output<DeviceMemCacheType> { ... }
fn partition_affinity_domain(&self) -> Output<DeviceAffinityDomain> { ... }
fn device_type(&self) -> Output<DeviceType> { ... } }

Required methods

unsafe fn device_ptr(&self) -> cl_device_id

Loading content...

Provided methods

fn is_usable(&self) -> bool

fn usability_check(&self) -> Output<()>

fn global_mem_cacheline_size(&self) -> Output<u32>

fn native_vector_width_double(&self) -> Output<u32>

fn native_vector_width_half(&self) -> Output<u32>

fn address_bits(&self) -> Output<u32>

fn max_clock_frequency(&self) -> Output<u32>

fn max_compute_units(&self) -> Output<u32>

fn max_constant_args(&self) -> Output<u32>

fn max_read_image_args(&self) -> Output<u32>

fn max_samplers(&self) -> Output<u32>

fn max_work_item_dimensions(&self) -> Output<u32>

fn max_write_image_args(&self) -> Output<u32>

fn mem_base_addr_align(&self) -> Output<u32>

fn min_data_type_align_size(&self) -> Output<u32>

fn native_vector_width_char(&self) -> Output<u32>

fn native_vector_width_short(&self) -> Output<u32>

fn native_vector_width_int(&self) -> Output<u32>

fn native_vector_width_long(&self) -> Output<u32>

fn native_vector_width_float(&self) -> Output<u32>

fn partition_max_sub_devices(&self) -> Output<u32>

fn preferred_vector_width_char(&self) -> Output<u32>

fn preferred_vector_width_short(&self) -> Output<u32>

fn preferred_vector_width_int(&self) -> Output<u32>

fn preferred_vector_width_long(&self) -> Output<u32>

fn preferred_vector_width_float(&self) -> Output<u32>

fn preferred_vector_width_double(&self) -> Output<u32>

fn preferred_vector_width_half(&self) -> Output<u32>

fn vendor_id(&self) -> Output<u32>

fn available(&self) -> Output<bool>

fn compiler_available(&self) -> Output<bool>

fn endian_little(&self) -> Output<bool>

fn error_correction_support(&self) -> Output<bool>

fn host_unified_memory(&self) -> Output<bool>

fn image_support(&self) -> Output<bool>

fn linker_available(&self) -> Output<bool>

fn preferred_interop_user_sync(&self) -> Output<bool>

fn name(&self) -> Output<String>

fn opencl_c_version(&self) -> Output<String>

fn profile(&self) -> Output<String>

fn vendor(&self) -> Output<String>

fn version(&self) -> Output<String>

fn driver_version(&self) -> Output<String>

fn global_mem_cache_size(&self) -> Output<u64>

fn global_mem_size(&self) -> Output<u64>

fn local_mem_size(&self) -> Output<u64>

fn max_constant_buffer_size(&self) -> Output<u64>

fn max_mem_alloc_size(&self) -> Output<u64>

fn image2d_max_width(&self) -> Output<usize>

fn image2d_max_height(&self) -> Output<usize>

fn image3d_max_width(&self) -> Output<usize>

fn image3d_max_height(&self) -> Output<usize>

fn image3d_max_depth(&self) -> Output<usize>

fn image_max_buffer_size(&self) -> Output<usize>

fn image_max_array_size(&self) -> Output<usize>

fn max_parameter_size(&self) -> Output<usize>

fn max_work_group_size(&self) -> Output<usize>

fn printf_buffer_size(&self) -> Output<usize>

fn profiling_timer_resolution(&self) -> Output<usize>

fn max_work_item_sizes(&self) -> Output<Vec<usize>>

fn local_mem_type(&self) -> Output<DeviceLocalMemType>

fn execution_capabilities(&self) -> Output<DeviceExecCapabilities>

fn global_mem_cache_type(&self) -> Output<DeviceMemCacheType>

fn partition_affinity_domain(&self) -> Output<DeviceAffinityDomain>

fn device_type(&self) -> Output<DeviceType>

Loading content...

Implementations on Foreign Types

impl DevicePtr for cl_device_id[src]

Loading content...

Implementors

impl DevicePtr for ClDeviceID[src]

impl<'_> DevicePtr for &'_ ClDeviceID[src]

Loading content...