CUB Modules
CUB Developer Overview
CUB Testing Overview
CUB Benchmarks
CUB Tuning Infrastructure
CUB API
Directory hierarchy
Namespace hierarchy
Defines
Directories
Namespaces
cub
Classes
Enums
Functions
cub::BFE
cub::BFI
cub::CurrentDevice
cub::Debug
cub::DeviceCount
cub::DeviceCountCachedValue
cub::DeviceCountUncached
cub::DivideAndRoundUp
cub::GetPerDeviceAttributeCache
cub::IADD3
cub::LaneId
cub::LaneMaskGe
cub::LaneMaskGt
cub::LaneMaskLe
cub::LaneMaskLt
cub::LoadDirectBlocked
cub::LoadDirectBlocked
cub::LoadDirectBlocked
cub::LoadDirectBlockedVectorized
cub::LoadDirectStriped
cub::LoadDirectStriped
cub::LoadDirectStriped
cub::LoadDirectWarpStriped
cub::LoadDirectWarpStriped
cub::LoadDirectWarpStriped
cub::LowerBound
cub::MakeBinaryFlip
cub::MakePolicyWrapper
cub::MatchAny
cub::MaxSmOccupancy
cub::MergePath
cub::MergePathSearch
cub::MidPoint
cub::Nominal4BItemsToItems
cub::Nominal4BItemsToItemsCombined
cub::Nominal8BItemsToItems
cub::PRMT
cub::PtxVersion
cub::PtxVersion
cub::PtxVersionUncached
cub::PtxVersionUncached
cub::RowMajorTid
cub::SHL_ADD
cub::SHR_ADD
cub::SerialMerge
cub::ShuffleDown
cub::ShuffleIndex
cub::ShuffleUp
cub::SmVersion
cub::SmVersionUncached
cub::StableOddEvenSort
cub::StoreDirectBlocked
cub::StoreDirectBlocked
cub::StoreDirectBlockedVectorized
cub::StoreDirectStriped
cub::StoreDirectStriped
cub::StoreDirectWarpStriped
cub::StoreDirectWarpStriped
cub::Swap
cub::SyncStream
cub::ThreadExit
cub::ThreadLoad
cub::ThreadReduce
cub::ThreadStore
cub::ThreadTrap
cub::UpperBound
cub::WarpId
cub::WarpMask
Namespaces
Structs
Typedefs
cub
»
CUB API
»
cub
»
cub::SHR_ADD
cub::SHR_ADD
Defined in
cub/util_ptx.cuh
unsigned
int
cub
::
SHR_ADD
(
unsigned
int
x
,
unsigned
int
shift
,
unsigned
int
addend
)
Shift-right then add.
Returns (
x
>>
shift
) +
addend
.