[−][src]Trait tension::Interop
Types that can be transformed from host representation to device one and back.
Associated Types
Loading content...Required methods
fn to_dev(self) -> Self::Dev
Transform from host to device type.
fn from_dev(x: Self::Dev) -> Self
Transform from device to host type.
Provided methods
fn load_from_buffer(dst: &mut [Self], src: &Buffer<Self::Dev>)
Copy data from OpenCL buffer to host slice.
fn store_to_buffer(dst: &mut Buffer<Self::Dev>, src: &[Self])
Copy data from host slice to OpenCL buffer.
Implementations on Foreign Types
impl Interop for bool
[src]
impl Interop for usize
[src]
impl Interop for isize
[src]
impl<T: Float> Interop for Complex<T> where
ComplexV01<T>: OclPrm,
[src]
ComplexV01<T>: OclPrm,