BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Public Member Functions | Static Public Member Functions | List of all members
bc::oper::Device_Atomic_Add Struct Reference

#include <binary.h>

Inheritance diagram for bc::oper::Device_Atomic_Add:
Inheritance graph
[legend]
Collaboration diagram for bc::oper::Device_Atomic_Add:
Collaboration graph
[legend]

Public Member Functions

template<class Lv , class Rv >
__host__ __device__ auto operator() (Lv &&lv, Rv &&rv) const -> decltype(apply(lv, rv))
 
- Public Member Functions inherited from bc::oper::Add_Assign
template<class Lv , class Rv >
__host__ __device__ auto operator() (Lv &&lv, Rv &&rv) const -> decltype(apply(lv, rv))
 

Static Public Member Functions

template<class Lv , class Rv >
__host__ static __device__ auto apply (Lv &&lv, Rv &&rv)
 
- Static Public Member Functions inherited from bc::oper::Add_Assign
template<class Lv , class Rv >
__host__ static __device__ auto apply (Lv &&lv, Rv &&rv) -> decltype(lv+=rv)
 

Additional Inherited Members

- Public Types inherited from bc::oper::Add_Assign
using alpha_modifier = bc::traits::Integer< 1 >
 
using beta_modifier = bc::traits::Integer< 1 >
 

Member Function Documentation

◆ apply()

template<class Lv , class Rv >
__host__ static __device__ auto bc::oper::Device_Atomic_Add::apply ( Lv &&  lv,
Rv &&  rv 
)
inlinestatic

◆ operator()()

template<class Lv , class Rv >
__host__ __device__ auto bc::oper::Device_Atomic_Add::operator() ( Lv &&  lv,
Rv &&  rv 
) const -> decltype(apply(lv, rv))
inline

The documentation for this struct was generated from the following file: