Skip to main content

cl_uint

Type Alias cl_uint 

Source
pub type cl_uint = u32;

Trait Implementations§

Source§

impl FromOclInfo for cl_uint

Source§

fn read<T: OclInfo>(from: &T, param_name: T::Param) -> Result<Self>

Source§

impl MemSafe for cl_uint

Source§

fn is_param_type_compatible(c_type: &str) -> bool

Check whether a given OpenCL C type (e.g. float or ulong) is compatible with this Rust type. This will be used when assigning kernel arguments as a sanity check, but should not be trusted as a guarantee of correctness.