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

Function shfl_up_sync

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

Source from the content-addressed store, hash-verified

79//__shfl_up_sync wrapper
80template<typename T>
81__device__ T shfl_up_sync(T var, int delta) {
82#if (CUDA_VERSION >= 9000)
83 return __shfl_up_sync(FULL_MASK, var, delta);
84#else
85 return __shfl_up(var, delta);
86#endif
87}
88// specialization for cfloat
89template<>
90inline __device__ cfloat shfl_up_sync(cfloat var, int delta) {

Callers 2

reduce_blocks_by_keyFunction · 0.85
reduce_blocks_dim_by_keyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected