libSCALE  0.2.0
A modern C++ CUDA API
sp::ShflXor Struct Reference

Shuffler corresponding to shfl_xor(). The offset parameter behaves like shfl_xor()'s laneMask argument. More...

#include <Shuffle.hpp>

Static Public Member Functions

static __device__ uint32_t apply (uint32_t value, int offset, int logicalWarpSize)
 
static __device__ std::pair< bool, uint32_t > applyPredicated (uint32_t value, int offset, int logicalWarpSize, int laneId)
 

Detailed Description

Shuffler corresponding to shfl_xor(). The offset parameter behaves like shfl_xor()'s laneMask argument.