Project
Loading...
Searching...
No Matches
GPUCommonDefAPI.h File Reference
#include <cstdint>

Go to the source code of this file.

Classes

struct  float4
 
struct  float3
 
struct  float2
 
struct  uchar2
 
struct  short2
 
struct  ushort2
 
struct  int2
 
struct  int3
 
struct  int4
 
struct  uint1
 
struct  uint2
 
struct  uint3
 
struct  uint4
 
struct  dim3
 

Macros

#define GPUd()
 
#define GPUdDefault()
 
#define GPUhdDefault()
 
#define GPUdi()   inline
 
#define GPUdii()
 
#define GPUdni()
 
#define GPUdnii()   inline
 
#define GPUh()
 
#define GPUhi()   inline
 
#define GPUhd()
 
#define GPUhdi()   inline
 
#define GPUhdni()
 
#define GPUg()   INVALID_TRIGGER_ERROR_NO_HOST_CODE
 
#define GPUshared()
 
#define GPUglobal()
 
#define GPUconstant()
 
#define GPUconstexpr()   static constexpr
 
#define GPUprivate()
 
#define GPUgeneric()
 
#define GPUbarrier()
 
#define GPUbarrierWarp()
 
#define GPUAtomic(type)   type
 
#define GPUsharedref()
 
#define GPUglobalref()
 
#define GPUconstantref()
 
#define GPUconstexprref()
 
#define GPUdic(...)   GPUd()
 
#define GPUCA_GPUdic_select_0()   GPUdni()
 
#define GPUCA_GPUdic_select_1()   GPUdii()
 
#define GPUCA_GPUdic_select_2()   GPUd()
 
#define GPUrestrict()   __restrict__
 
#define get_global_id(dim)   iBlock
 
#define get_global_size(dim)   nBlocks
 
#define get_num_groups(dim)   nBlocks
 
#define get_local_id(dim)   0
 
#define get_local_size(dim)   1
 
#define get_group_id(dim)   iBlock
 

Detailed Description

Author
David Rohr

Definition in file GPUCommonDefAPI.h.

Macro Definition Documentation

◆ get_global_id

#define get_global_id (   dim)    iBlock

Definition at line 225 of file GPUCommonDefAPI.h.

◆ get_global_size

#define get_global_size (   dim)    nBlocks

Definition at line 226 of file GPUCommonDefAPI.h.

◆ get_group_id

#define get_group_id (   dim)    iBlock

Definition at line 230 of file GPUCommonDefAPI.h.

◆ get_local_id

#define get_local_id (   dim)    0

Definition at line 228 of file GPUCommonDefAPI.h.

◆ get_local_size

#define get_local_size (   dim)    1

Definition at line 229 of file GPUCommonDefAPI.h.

◆ get_num_groups

#define get_num_groups (   dim)    nBlocks

Definition at line 227 of file GPUCommonDefAPI.h.

◆ GPUAtomic

#define GPUAtomic (   type)    type

Definition at line 55 of file GPUCommonDefAPI.h.

◆ GPUbarrier

#define GPUbarrier ( )

Definition at line 53 of file GPUCommonDefAPI.h.

◆ GPUbarrierWarp

#define GPUbarrierWarp ( )

Definition at line 54 of file GPUCommonDefAPI.h.

◆ GPUCA_GPUdic_select_0

#define GPUCA_GPUdic_select_0 ( )    GPUdni()

Definition at line 190 of file GPUCommonDefAPI.h.

◆ GPUCA_GPUdic_select_1

#define GPUCA_GPUdic_select_1 ( )    GPUdii()

Definition at line 191 of file GPUCommonDefAPI.h.

◆ GPUCA_GPUdic_select_2

#define GPUCA_GPUdic_select_2 ( )    GPUd()

Definition at line 192 of file GPUCommonDefAPI.h.

◆ GPUconstant

#define GPUconstant ( )

Definition at line 49 of file GPUCommonDefAPI.h.

◆ GPUconstantref

#define GPUconstantref ( )

Definition at line 58 of file GPUCommonDefAPI.h.

◆ GPUconstexpr

#define GPUconstexpr ( )    static constexpr

Definition at line 50 of file GPUCommonDefAPI.h.

◆ GPUconstexprref

#define GPUconstexprref ( )

Definition at line 59 of file GPUCommonDefAPI.h.

◆ GPUd

GPUd ( )

GPUCA_TEXTURE_FETCH_CONSTRUCTOR

Definition at line 31 of file GPUCommonDefAPI.h.

◆ GPUdDefault

#define GPUdDefault ( )

Definition at line 32 of file GPUCommonDefAPI.h.

◆ GPUdi

GPUdi ( )    inline

Definition at line 34 of file GPUCommonDefAPI.h.

◆ GPUdic

#define GPUdic (   ...)    GPUd()

Definition at line 188 of file GPUCommonDefAPI.h.

◆ GPUdii

GPUdii ( )

Definition at line 35 of file GPUCommonDefAPI.h.

◆ GPUdni

template GPUdni ( )

Definition at line 36 of file GPUCommonDefAPI.h.

◆ GPUdnii

#define GPUdnii ( )    inline

Definition at line 37 of file GPUCommonDefAPI.h.

◆ GPUg

#define GPUg ( )    INVALID_TRIGGER_ERROR_NO_HOST_CODE

Definition at line 46 of file GPUCommonDefAPI.h.

◆ GPUgeneric

#define GPUgeneric ( )

Definition at line 52 of file GPUCommonDefAPI.h.

◆ GPUglobal

#define GPUglobal ( )

Definition at line 48 of file GPUCommonDefAPI.h.

◆ GPUglobalref

#define GPUglobalref ( )

Definition at line 57 of file GPUCommonDefAPI.h.

◆ GPUh

GPUh ( )

Definition at line 38 of file GPUCommonDefAPI.h.

◆ GPUhd

GPUhd ( )

Definition at line 43 of file GPUCommonDefAPI.h.

◆ GPUhdDefault

#define GPUhdDefault ( )

Definition at line 33 of file GPUCommonDefAPI.h.

◆ GPUhdi

#define GPUhdi ( )    inline

Definition at line 44 of file GPUCommonDefAPI.h.

◆ GPUhdni

#define GPUhdni ( )

Definition at line 45 of file GPUCommonDefAPI.h.

◆ GPUhi

#define GPUhi ( )    inline

Definition at line 42 of file GPUCommonDefAPI.h.

◆ GPUprivate

#define GPUprivate ( )

Definition at line 51 of file GPUCommonDefAPI.h.

◆ GPUrestrict

#define GPUrestrict ( )    __restrict__

Definition at line 212 of file GPUCommonDefAPI.h.

◆ GPUshared

#define GPUshared ( )

Definition at line 47 of file GPUCommonDefAPI.h.

◆ GPUsharedref

#define GPUsharedref ( )

Definition at line 56 of file GPUCommonDefAPI.h.