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

Function idx

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

Source from the content-addressed store, hash-verified

30inline __device__ int idx_x(const int i) { return idx_y((i + 4) & 15); }
31
32inline __device__ int idx(const int x, const int y) {
33 return ((threadIdx.x + 3 + x) + (blockDim.x + 6) * (threadIdx.y + 3 + y));
34}
35
36// test_greater()
37// Tests if a pixel x > p + thr

Callers 2

test_pixelFunction · 0.70
locate_features_coreFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_pixelFunction · 0.56