MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / _max

Function _max

include/common.h:77–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76template <class DType>
77HOST_DEVICE constexpr DType _max(DType a, DType b) {
78 return a < b ? b : a;
79}
80
81template <class DType>
82HOST_DEVICE constexpr DType _min(DType a, DType b) {

Callers 1

SwizzleClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected