MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / min

Function min

src/backend/cuda/math.hpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52static inline __DH__ double abs(cdouble cval) { return cuCabs(cval); }
53
54static inline __DH__ size_t min(size_t lhs, size_t rhs) {
55 return lhs < rhs ? lhs : rhs;
56}
57static inline __DH__ size_t max(size_t lhs, size_t rhs) {
58 return lhs > rhs ? lhs : rhs;
59}

Callers 15

svdInPlaceFunction · 0.70
diagExtractFunction · 0.70
fast_pyramidFunction · 0.70
luFunction · 0.70
lu_inplaceFunction · 0.70
genThreadsMethod · 0.70
susanFunction · 0.70
qrFunction · 0.70
qr_inplaceFunction · 0.70
all_distancesFunction · 0.50
unwrapFunction · 0.50
mean_dimFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected