ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Classes | Macros | Functions | Variables
__clang_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

◆ __CUDA_BUILTIN_VAR

#define __CUDA_BUILTIN_VAR    extern const __attribute__((device)) __attribute__((weak))

Definition at line 96 of file __clang_cuda_builtin_vars.h.

◆ __CUDA_DEVICE_BUILTIN

#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 FIELD(fieldNo)
Definition: semihost.cpp:31

Definition at line 30 of file __clang_cuda_builtin_vars.h.

◆ __CUDA_DISALLOW_BUILTINVAR_ACCESS

#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
#define __DELETE

Definition at line 46 of file __clang_cuda_builtin_vars.h.

◆ __DELETE

#define __DELETE

Definition at line 40 of file __clang_cuda_builtin_vars.h.

Function Documentation

◆ __attribute__()

__attribute__ ( (device)  ) const

Variable Documentation

◆ blockDim

Definition at line 100 of file __clang_cuda_builtin_vars.h.

◆ blockIdx

Definition at line 99 of file __clang_cuda_builtin_vars.h.

◆ gridDim

Definition at line 101 of file __clang_cuda_builtin_vars.h.

◆ threadIdx

Definition at line 98 of file __clang_cuda_builtin_vars.h.