|
Uni20
Asynchronous tensor and runtime library.
|
Return the additive inverse of one element value. More...
#include <elementwise_functions.hpp>
Public Member Functions | |
| template<class Value > | |
| UNI20_HOST_DEVICE constexpr auto | operator() (Value value) const noexcept(noexcept(-value)) -> decltype(-value) |
Return the additive inverse of one element value.
The named type permits precompiled backends to register an explicit lowering while the same object remains usable by generic host code.
|
inlineconstexprnoexcept |