QUDA  v1.1.0
A library for QCD on GPUs
Classes | Namespaces | Functions
shfl.h File Reference
#include <generics/detail/alias.h>
#include <thrust/detail/static_assert.h>

Go to the source code of this file.

Classes

struct  detail::shuffle< s >
 
struct  detail::shuffle< 1 >
 
struct  detail::shuffle_down< s >
 
struct  detail::shuffle_down< 1 >
 
struct  detail::shuffle_up< s >
 
struct  detail::shuffle_up< 1 >
 
struct  detail::shuffle_xor< s >
 
struct  detail::shuffle_xor< 1 >
 

Namespaces

 detail
 

Functions

template<typename T >
__device__ __forceinline__ T __shfl (const T &t, const int &i)
 
template<typename T >
__device__ __forceinline__ T __shfl_down (const T &t, const int &i)
 
template<typename T >
__device__ __forceinline__ T __shfl_up (const T &t, const int &i)
 
template<typename T >
__device__ __forceinline__ T __shfl_xor (const T &t, const int &i)
 

Function Documentation

◆ __shfl()

template<typename T >
__device__ __forceinline__ T __shfl ( const T &  t,
const int &  i 
)

Definition at line 214 of file shfl.h.

◆ __shfl_down()

template<typename T >
__device__ __forceinline__ T __shfl_down ( const T &  t,
const int &  i 
)

Definition at line 229 of file shfl.h.

◆ __shfl_up()

template<typename T >
__device__ __forceinline__ T __shfl_up ( const T &  t,
const int &  i 
)

Definition at line 243 of file shfl.h.

◆ __shfl_xor()

template<typename T >
__device__ __forceinline__ T __shfl_xor ( const T &  t,
const int &  i 
)

Definition at line 257 of file shfl.h.