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

Namespaces

 cub
 Optional outer namespace(s)
 

Functions

CUB_RUNTIME_FUNCTION
__forceinline__ cudaError_t 
cub::PtxVersion (int &ptx_version)
 Retrieves the PTX version that will be used on the current device (major * 100 + minor * 10) More...
 
CUB_RUNTIME_FUNCTION
__forceinline__ cudaError_t 
cub::SmVersion (int &sm_version, int device_ordinal)
 Retrieves the SM version (major * 100 + minor * 10)
 

Detailed Description

Properties of a given CUDA device and the corresponding PTX bundle