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

Function test_greater

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

test_greater() Tests if a pixel x > p + thr

Source from the content-addressed store, hash-verified

36// test_greater()
37// Tests if a pixel x > p + thr
38inline __device__ int test_greater(const float x, const float p,
39 const float thr) {
40 return (x > p + thr);
41}
42
43// test_smaller()
44// Tests if a pixel x < p - thr

Callers 2

test_pixelFunction · 0.70
locate_features_coreFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected