Project
Loading...
Searching...
No Matches
GPUDef.h File Reference

Go to the source code of this file.

Macros

#define GPUPtr1(a, b)   a b
 
#define GPUPtr2(a, b)   b
 
#define GPUCA_EVDUMP_FILE   "event"
 
#define CA_MAKE_SHARED_REF(vartype, varname, varglobal, varshared)   const GPUglobalref() vartype & __restrict__ varname = varglobal;
 
#define CA_SHARED_STORAGE(storage)
 
#define CA_SHARED_CACHE(target, src, size)
 
#define CA_SHARED_CACHE_REF(target, src, size, reftype, ref)   GPUglobalref() const reftype* __restrict__ ref = src
 
#define CA_TEXTURE_FETCH(type, texture, address, entry)   address[entry];
 
#define CADEBUG(...)
 
#define CADEBUG2(cmd, ...)   {cmd;}
 

Detailed Description

Author
David Rohr, Sergey Gorbunov

Definition in file GPUDef.h.

Macro Definition Documentation

◆ CA_MAKE_SHARED_REF

#define CA_MAKE_SHARED_REF (   vartype,
  varname,
  varglobal,
  varshared 
)    const GPUglobalref() vartype & __restrict__ varname = varglobal;

Definition at line 55 of file GPUDef.h.

◆ CA_SHARED_CACHE

#define CA_SHARED_CACHE (   target,
  src,
  size 
)

Definition at line 57 of file GPUDef.h.

◆ CA_SHARED_CACHE_REF

#define CA_SHARED_CACHE_REF (   target,
  src,
  size,
  reftype,
  ref 
)    GPUglobalref() const reftype* __restrict__ ref = src

Definition at line 58 of file GPUDef.h.

◆ CA_SHARED_STORAGE

#define CA_SHARED_STORAGE (   storage)

Definition at line 56 of file GPUDef.h.

◆ CA_TEXTURE_FETCH

#define CA_TEXTURE_FETCH (   type,
  texture,
  address,
  entry 
)    address[entry];

Definition at line 64 of file GPUDef.h.

◆ CADEBUG

#define CADEBUG (   ...)

Definition at line 85 of file GPUDef.h.

◆ CADEBUG2

#define CADEBUG2 (   cmd,
  ... 
)    {cmd;}

Definition at line 86 of file GPUDef.h.

◆ GPUCA_EVDUMP_FILE

#define GPUCA_EVDUMP_FILE   "event"

Definition at line 40 of file GPUDef.h.

◆ GPUPtr1

#define GPUPtr1 (   a,
  b 
)    a b

Definition at line 33 of file GPUDef.h.

◆ GPUPtr2

#define GPUPtr2 (   a,
  b 
)    b

Definition at line 34 of file GPUDef.h.