|
Uni20
Asynchronous tensor and runtime library.
|
Multiply one element value by a retained scalar factor. More...
#include <elementwise_functions.hpp>
Public Member Functions | |
| template<class Value > | |
| UNI20_HOST_DEVICE constexpr auto | operator() (Value value) const noexcept(noexcept(factor *value)) -> decltype(factor *value) |
Public Attributes | |
| Factor | factor |
Multiply one element value by a retained scalar factor.
The factor is part of the operation payload carried through dispatch. Precompiled backends explicitly register supported factor and element-type combinations.
|
inlineconstexprnoexcept |
| Factor uni20::linalg::scale< Factor >::factor |