sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Macros | Functions | Variables
cuda_builtin_vars.h File Reference

Go to the source code of this file.

Classes

struct  __cuda_builtin_threadIdx_t
 
struct  __cuda_builtin_blockIdx_t
 
struct  __cuda_builtin_blockDim_t
 
struct  __cuda_builtin_gridDim_t
 

Macros

#define __CUDA_DEVICE_BUILTIN(FIELD, INTRINSIC)
 
#define __DELETE
 
#define __CUDA_DISALLOW_BUILTINVAR_ACCESS(TypeName)
 
#define __CUDA_BUILTIN_VAR   extern const __attribute__((device)) __attribute__((weak))
 

Functions

 __attribute__ ((device)) const int warpSize
 

Variables

__CUDA_BUILTIN_VAR
__cuda_builtin_threadIdx_t 
threadIdx
 
__CUDA_BUILTIN_VAR
__cuda_builtin_blockIdx_t 
blockIdx
 
__CUDA_BUILTIN_VAR
__cuda_builtin_blockDim_t 
blockDim
 
__CUDA_BUILTIN_VAR
__cuda_builtin_gridDim_t 
gridDim
 

Macro Definition Documentation

#define __CUDA_BUILTIN_VAR   extern const __attribute__((device)) __attribute__((weak))
#define __CUDA_DEVICE_BUILTIN (   FIELD,
  INTRINSIC 
)
Value:
__declspec(property(get = __fetch_builtin_##FIELD)) unsigned int FIELD; \
static inline __attribute__((always_inline)) \
__attribute__((device)) unsigned int __fetch_builtin_##FIELD(void) { \
return INTRINSIC; \
}
__attribute__((device)) const int warpSize
#define __CUDA_DISALLOW_BUILTINVAR_ACCESS (   TypeName)
Value:
__attribute__((device)) TypeName() __DELETE; \
__attribute__((device)) TypeName(const TypeName &) __DELETE; \
__attribute__((device)) void operator=(const TypeName &) const __DELETE; \
__attribute__((device)) TypeName *operator&() const __DELETE
__attribute__((device)) const int warpSize
#define __DELETE
Definition: cuda_builtin_vars.h:50
#define __DELETE

Function Documentation

__attribute__ ( (device)  ) const

Variable Documentation