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

Function any_sync

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

Source from the content-addressed store, hash-verified

26//__all_sync wrapper
27template<typename T>
28__device__ T any_sync(T var) {
29#if (CUDA_VERSION >= 9000)
30 return __any_sync(FULL_MASK, var);
31#else
32 return __any(var);
33#endif
34}
35
36//__shfl_down_sync wrapper
37template<typename T>

Callers 1

test_needs_reductionFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_needs_reductionFunction · 0.68