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").
Implementors
impl OclPrm for Char
impl OclPrm for Char2
impl OclPrm for Char3
impl OclPrm for Char4
impl OclPrm for Char8
impl OclPrm for Char16
impl OclPrm for Uchar
impl OclPrm for Uchar2
impl OclPrm for Uchar3
impl OclPrm for Uchar4
impl OclPrm for Uchar8
impl OclPrm for Uchar16
impl OclPrm for Short
impl OclPrm for Short2
impl OclPrm for Short3
impl OclPrm for Short4
impl OclPrm for Short8
impl OclPrm for Short16
impl OclPrm for Ushort
impl OclPrm for Ushort2
impl OclPrm for Ushort3
impl OclPrm for Ushort4
impl OclPrm for Ushort8
impl OclPrm for Ushort16
impl OclPrm for Int
impl OclPrm for Int2
impl OclPrm for Int3
impl OclPrm for Int4
impl OclPrm for Int8
impl OclPrm for Int16
impl OclPrm for Uint
impl OclPrm for Uint2
impl OclPrm for Uint3
impl OclPrm for Uint4
impl OclPrm for Uint8
impl OclPrm for Uint16
impl OclPrm for Long
impl OclPrm for Long2
impl OclPrm for Long3
impl OclPrm for Long4
impl OclPrm for Long8
impl OclPrm for Long16
impl OclPrm for Ulong
impl OclPrm for Ulong2
impl OclPrm for Ulong3
impl OclPrm for Ulong4
impl OclPrm for Ulong8
impl OclPrm for Ulong16
impl OclPrm for Float
impl OclPrm for Float2
impl OclPrm for Float3
impl OclPrm for Float4
impl OclPrm for Float8
impl OclPrm for Float16
impl OclPrm for Double
impl OclPrm for Double2
impl OclPrm for Double3
impl OclPrm for Double4
impl OclPrm for Double8
impl OclPrm for Double16
impl OclPrm for u8
impl OclPrm for i8
impl OclPrm for u16
impl OclPrm for i16
impl OclPrm for u32
impl OclPrm for i32
impl OclPrm for u64
impl OclPrm for i64
impl OclPrm for usize
impl OclPrm for isize
impl OclPrm for f32
impl OclPrm for f64