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

Function max

src/backend/cuda/math.hpp:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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}
60
61#ifdef __CUDA_ARCH__
62static inline __device__ __half abs(__half val) {

Callers 15

createSelectNodeFunction · 0.70
qrFunction · 0.70
maxvalFunction · 0.70
bilateralFunction · 0.50
mean_firstFunction · 0.50
mean_all_weightedFunction · 0.50
mean_allFunction · 0.50
update_equivFunction · 0.50
scan_first_by_keyFunction · 0.50
whereFunction · 0.50
scan_firstFunction · 0.50
max_valFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected