MCPcopy Create free account
hub / github.com/RenderKit/oidn / min

Function min

common/platform.h:181–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179
180 template<typename T>
181 oidn_host_device_inline constexpr T min(T a, T b) { return (b < a) ? b : a; }
182
183 template<typename T>
184 oidn_host_device_inline constexpr T max(T a, T b) { return (a < b) ? b : a; }

Callers 1

clampFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected