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

Function max

src/backend/opencl/math.hpp:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43template<typename T>
44static inline T max(T lhs, T rhs) {
45 return std::max(lhs, rhs);
46}
47
48static inline float abs(cfloat cval) {
49 return std::sqrt(cval.s[0] * cval.s[0] + cval.s[1] * cval.s[1]);

Callers 15

homographyFunction · 0.70
setIntersectFunction · 0.70
createSelectNodeFunction · 0.70
qrFunction · 0.70
maxvalFunction · 0.70
qrFunction · 0.50
solveFunction · 0.50
magma_getrf_gpuFunction · 0.50
magma_getrs_gpuFunction · 0.50
magma_geqrf3_gpuFunction · 0.50
magmablas_laset_bandFunction · 0.50
magmablas_lasetFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected