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

Shuffler corresponding to shfl(). The offset parameter behaves like shfl()'s srcLane 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(). The offset parameter behaves like shfl()'s srcLane argument.