[][src]Trait fil_ocl::traits::OclPrm

pub unsafe trait OclPrm: 'static + Send + Copy + Sync + PartialEq<Self> + Clone + Default + Debug { }

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 f32[src]

impl OclPrm for f64[src]

impl OclPrm for u32[src]

impl OclPrm for Complex<f32>[src]

impl OclPrm for Complex<f64>[src]

impl OclPrm for usize[src]

impl OclPrm for i64[src]

impl OclPrm for i8[src]

impl OclPrm for i32[src]

impl OclPrm for u64[src]

impl OclPrm for u16[src]

impl OclPrm for i16[src]

impl OclPrm for isize[src]

Loading content...

Implementors

impl OclPrm for Char[src]

impl OclPrm for Char16[src]

impl OclPrm for Char2[src]

impl OclPrm for Char3[src]

impl OclPrm for Char4[src]

impl OclPrm for Char8[src]

impl OclPrm for Double[src]

impl OclPrm for Double16[src]

impl OclPrm for Double2[src]

impl OclPrm for Double3[src]

impl OclPrm for Double4[src]

impl OclPrm for Double8[src]

impl OclPrm for Float[src]

impl OclPrm for Float16[src]

impl OclPrm for Float2[src]

impl OclPrm for Float3[src]

impl OclPrm for Float4[src]

impl OclPrm for Float8[src]

impl OclPrm for Int[src]

impl OclPrm for Int16[src]

impl OclPrm for Int2[src]

impl OclPrm for Int3[src]

impl OclPrm for Int4[src]

impl OclPrm for Int8[src]

impl OclPrm for Long[src]

impl OclPrm for Long16[src]

impl OclPrm for Long2[src]

impl OclPrm for Long3[src]

impl OclPrm for Long4[src]

impl OclPrm for Long8[src]

impl OclPrm for Short[src]

impl OclPrm for Short16[src]

impl OclPrm for Short2[src]

impl OclPrm for Short3[src]

impl OclPrm for Short4[src]

impl OclPrm for Short8[src]

impl OclPrm for Uchar[src]

impl OclPrm for Uchar16[src]

impl OclPrm for Uchar2[src]

impl OclPrm for Uchar3[src]

impl OclPrm for Uchar4[src]

impl OclPrm for Uchar8[src]

impl OclPrm for Uint[src]

impl OclPrm for Uint16[src]

impl OclPrm for Uint2[src]

impl OclPrm for Uint3[src]

impl OclPrm for Uint4[src]

impl OclPrm for Uint8[src]

impl OclPrm for Ulong[src]

impl OclPrm for Ulong16[src]

impl OclPrm for Ulong2[src]

impl OclPrm for Ulong3[src]

impl OclPrm for Ulong4[src]

impl OclPrm for Ulong8[src]

impl OclPrm for Ushort[src]

impl OclPrm for Ushort16[src]

impl OclPrm for Ushort2[src]

impl OclPrm for Ushort3[src]

impl OclPrm for Ushort4[src]

impl OclPrm for Ushort8[src]

Loading content...