CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Namespaces | Macros
util_arch.cuh File Reference
#include "util_namespace.cuh"

Go to the source code of this file.

Namespaces

 cub
 Optional outer namespace(s)
 

Macros

#define CUB_PTX_ARCH   0
 CUB_PTX_ARCH reflects the PTX version targeted by the active compiler pass (or zero during the host pass).
 
#define CUB_RUNTIME_ENABLED
 Whether or not the source targeted by the active compiler pass is allowed to invoke device kernels or methods from the CUDA runtime API.
 
#define CUB_RUNTIME_FUNCTION   __host__ __device__
 
#define CUB_LOG_WARP_THREADS(arch)   (5)
 Number of threads per warp (log)
 
#define CUB_WARP_THREADS(arch)   (1 << CUB_LOG_WARP_THREADS(arch))
 Number of threads per warp.
 
#define CUB_LOG_SMEM_BANKS(arch)
 Number of smem banks (log) More...
 
#define CUB_SMEM_BANKS(arch)   (1 << CUB_LOG_SMEM_BANKS(arch))
 Number of smem banks.
 
#define CUB_SMEM_BANK_BYTES(arch)   (4)
 Number of bytes per smem bank.
 
#define CUB_SMEM_BYTES(arch)
 Number of smem bytes provisioned per SM. More...
 
#define CUB_SMEM_ALLOC_UNIT(arch)
 Smem allocation size in bytes. More...
 
#define CUB_REGS_BY_BLOCK(arch)
 Whether or not the architecture allocates registers by block (or by warp) More...
 
#define CUB_REG_ALLOC_UNIT(arch)
 Number of registers allocated at a time per block (or by warp) More...
 
#define CUB_WARP_ALLOC_UNIT(arch)
 Granularity of warps for which registers are allocated. More...
 
#define CUB_MAX_SM_THREADS(arch)
 Maximum number of threads per SM. More...
 
#define CUB_MAX_SM_BLOCKS(arch)
 Maximum number of thread blocks per SM. More...
 
#define CUB_MAX_BLOCK_THREADS(arch)
 Maximum number of threads per thread block. More...
 
#define CUB_MAX_SM_REGISTERS(arch)
 Maximum number of registers per SM. More...
 
#define CUB_SUBSCRIPTION_FACTOR(arch)
 Oversubscription factor. More...
 
#define CUB_PREFER_CONFLICT_OVER_PADDING(arch)
 Prefer padding overhead vs X-way conflicts greater than this threshold. More...
 

Detailed Description

Static architectural properties by SM version.

Definition in file util_arch.cuh.