Helper to apply a binary operator in place.
#include <tensor_elementwise.h>
template<typename ElementA , typename LayoutA , typename ElementB , typename LayoutB , typename ElementD , typename LayoutD , typename BinaryFunc >
template<typename ElementA , typename LayoutA , typename ElementB , typename LayoutB , typename ElementD , typename LayoutD , typename BinaryFunc >
cutlass::reference::host::detail::TensorFuncBinaryOp< ElementA, LayoutA, ElementB, LayoutB, ElementD, LayoutD, BinaryFunc >::TensorFuncBinaryOp |
( |
TensorView< ElementD, LayoutD > const & |
view_d_, |
|
|
TensorRef< ElementA, LayoutA > const & |
ref_a_, |
|
|
TensorRef< ElementB, LayoutB > const & |
ref_b_, |
|
|
BinaryFunc |
func = BinaryFunc() |
|
) |
| |
|
inline |
template<typename ElementA , typename LayoutA , typename ElementB , typename LayoutB , typename ElementD , typename LayoutD , typename BinaryFunc >
template<typename ElementA , typename LayoutA , typename ElementB , typename LayoutB , typename ElementD , typename LayoutD , typename BinaryFunc >
template<typename ElementA , typename LayoutA , typename ElementB , typename LayoutB , typename ElementD , typename LayoutD , typename BinaryFunc >
template<typename ElementA , typename LayoutA , typename ElementB , typename LayoutB , typename ElementD , typename LayoutD , typename BinaryFunc >
template<typename ElementA , typename LayoutA , typename ElementB , typename LayoutB , typename ElementD , typename LayoutD , typename BinaryFunc >
The documentation for this struct was generated from the following file: