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 Charimpl OclPrm for Char2impl OclPrm for Char3impl OclPrm for Char4impl OclPrm for Char8impl OclPrm for Char16impl OclPrm for Ucharimpl OclPrm for Uchar2impl OclPrm for Uchar3impl OclPrm for Uchar4impl OclPrm for Uchar8impl OclPrm for Uchar16impl OclPrm for Shortimpl OclPrm for Short2impl OclPrm for Short3impl OclPrm for Short4impl OclPrm for Short8impl OclPrm for Short16impl OclPrm for Ushortimpl OclPrm for Ushort2impl OclPrm for Ushort3impl OclPrm for Ushort4impl OclPrm for Ushort8impl OclPrm for Ushort16impl OclPrm for Intimpl OclPrm for Int2impl OclPrm for Int3impl OclPrm for Int4impl OclPrm for Int8impl OclPrm for Int16impl OclPrm for Uintimpl OclPrm for Uint2impl OclPrm for Uint3impl OclPrm for Uint4impl OclPrm for Uint8impl OclPrm for Uint16impl OclPrm for Longimpl OclPrm for Long2impl OclPrm for Long3impl OclPrm for Long4impl OclPrm for Long8impl OclPrm for Long16impl OclPrm for Ulongimpl OclPrm for Ulong2impl OclPrm for Ulong3impl OclPrm for Ulong4impl OclPrm for Ulong8impl OclPrm for Ulong16impl OclPrm for Floatimpl OclPrm for Float2impl OclPrm for Float3impl OclPrm for Float4impl OclPrm for Float8impl OclPrm for Float16impl OclPrm for Doubleimpl OclPrm for Double2impl OclPrm for Double3impl OclPrm for Double4impl OclPrm for Double8impl OclPrm for Double16impl OclPrm for u8impl OclPrm for i8impl OclPrm for u16impl OclPrm for i16impl OclPrm for u32impl OclPrm for i32impl OclPrm for u64impl OclPrm for i64impl OclPrm for usizeimpl OclPrm for isizeimpl OclPrm for f32impl OclPrm for f64