Trait ocl_core::OclPrm [] [src]

pub unsafe trait OclPrm: Debug + Clone + Copy + Default + PartialEq + 'static { }

A primitive type usable within OpenCL kernels.

Includes all of the signed, unsigned, and floating point 8 bit - 64 bit scalar primitives (ex.: cl_char, cl_uint, cl_double) (exception: cl_half) and their vector counterparts (ex.: cl_int4, cl_float3, cl_short16);

Can also be implemented for custom types as long as layout and alignment are conserved between Rust and OpenCL (repr "C").

Implementations on Foreign Types

impl OclPrm for u8
[src]

impl OclPrm for i8
[src]

impl OclPrm for u16
[src]

impl OclPrm for i16
[src]

impl OclPrm for u32
[src]

impl OclPrm for i32
[src]

impl OclPrm for u64
[src]

impl OclPrm for i64
[src]

impl OclPrm for usize
[src]

impl OclPrm for isize
[src]

impl OclPrm for f32
[src]

impl OclPrm for f64
[src]

Implementors