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

Function max_val

src/backend/cuda/kernel/fast.hpp:63–63  ·  view source on GitHub ↗

max_val() Returns max of x and y

Source from the content-addressed store, hash-verified

61// max_val()
62// Returns max of x and y
63inline __device__ int max_val(const int x, const int y) { return max(x, y); }
64inline __device__ unsigned max_val(const unsigned x, const unsigned y) {
65 return max(x, y);
66}

Callers 2

locate_features_coreFunction · 0.70
non_max_countsFunction · 0.70

Calls 2

fmaxFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected