Trait AtomicAdd

Source
pub trait AtomicAdd {
    // Required methods
    unsafe fn shared_red_add(&mut self, rhs: Self);
    unsafe fn global_red_add(&mut self, rhs: Self);
    unsafe fn global_atomic_add(&mut self, rhs: Self) -> Self;
}

Required Methods§

Source

unsafe fn shared_red_add(&mut self, rhs: Self)

Source

unsafe fn global_red_add(&mut self, rhs: Self)

Source

unsafe fn global_atomic_add(&mut self, rhs: Self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AtomicAdd for f32

Source§

unsafe fn shared_red_add(&mut self, _rhs: Self)

Source§

unsafe fn global_red_add(&mut self, _rhs: Self)

Source§

unsafe fn global_atomic_add(&mut self, _rhs: Self) -> Self

Source§

impl AtomicAdd for u32

Source§

unsafe fn shared_red_add(&mut self, _rhs: Self)

Source§

unsafe fn global_red_add(&mut self, _rhs: Self)

Source§

unsafe fn global_atomic_add(&mut self, _rhs: Self) -> Self

Source§

impl AtomicAdd for u64

Source§

unsafe fn shared_red_add(&mut self, _rhs: Self)

Source§

unsafe fn global_red_add(&mut self, _rhs: Self)

Source§

unsafe fn global_atomic_add(&mut self, _rhs: Self) -> Self

Source§

impl<T: Scalar + AtomicAdd> AtomicAdd for Vector<T>

Source§

unsafe fn shared_red_add(&mut self, rhs: Self)

Source§

unsafe fn global_red_add(&mut self, rhs: Self)

Source§

unsafe fn global_atomic_add(&mut self, _rhs: Self) -> Self

Implementors§