Contents

struct

SushiEngine::placeholder::Minimum

template <typename T>

Folds two values to the smaller.

Declared in
engine/foundation/core/include/SushiEngine/core/blas_placeholder.hpp

b < a ? b : a rather than std::min, so the operator is usable in device code without dragging <algorithm> into a kernel, and so a NaN on either side propagates the same way it does in Maximum instead of depending on which argument the standard library happened to test.

Public Methods

operator()