#[repr(C)]pub struct starpu_multiformat_data_interface_ops {
pub cpu_elemsize: usize,
pub opencl_elemsize: usize,
pub cpu_to_opencl_cl: *mut starpu_codelet,
pub opencl_to_cpu_cl: *mut starpu_codelet,
pub cuda_elemsize: usize,
pub cpu_to_cuda_cl: *mut starpu_codelet,
pub cuda_to_cpu_cl: *mut starpu_codelet,
}Expand description
Multiformat operations
Fields§
§cpu_elemsize: usize< size of each element on CPUs
opencl_elemsize: usize< size of each element on OpenCL devices
cpu_to_opencl_cl: *mut starpu_codelet< pointer to a codelet which converts from CPU to OpenCL
opencl_to_cpu_cl: *mut starpu_codelet< pointer to a codelet which converts from OpenCL to CPU
cuda_elemsize: usize< size of each element on CUDA devices
cpu_to_cuda_cl: *mut starpu_codelet< pointer to a codelet which converts from CPU to CUDA
cuda_to_cpu_cl: *mut starpu_codelet< pointer to a codelet which converts from CUDA to CPU
Trait Implementations§
Source§impl Clone for starpu_multiformat_data_interface_ops
impl Clone for starpu_multiformat_data_interface_ops
Source§fn clone(&self) -> starpu_multiformat_data_interface_ops
fn clone(&self) -> starpu_multiformat_data_interface_ops
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for starpu_multiformat_data_interface_ops
Auto Trait Implementations§
impl Freeze for starpu_multiformat_data_interface_ops
impl RefUnwindSafe for starpu_multiformat_data_interface_ops
impl !Send for starpu_multiformat_data_interface_ops
impl !Sync for starpu_multiformat_data_interface_ops
impl Unpin for starpu_multiformat_data_interface_ops
impl UnsafeUnpin for starpu_multiformat_data_interface_ops
impl UnwindSafe for starpu_multiformat_data_interface_ops
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more