GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
array.h File Reference

Go to the source code of this file.

Namespaces

 r123
 

Macros

#define CXXMETHODS(_N, W, T)
 
#define CXXOVERLOADS(_N, W, T)
 
#define _r123array_tpl(_N, W, T)
 
#define R123_W(a)   (8*sizeof(((a *)0)->v[0]))
 

Functions

 _r123array_tpl (1, 32, uint32_t) _r123array_tpl(2
 
uint32_t _r123array_tpl (4, 32, uint32_t) _r123array_tpl(8
 
uint32_t uint32_t _r123array_tpl (1, 64, uint64_t) _r123array_tpl(2
 
uint32_t uint32_t uint64_t _r123array_tpl (4, 64, uint64_t) _r123array_tpl(16
 

Macro Definition Documentation

◆ _r123array_tpl

#define _r123array_tpl (   _N,
  W,
 
)
Value:
\ \
struct r123array##_N##x##W{ \
T v[_N]; \
CXXMETHODS(_N, W, T) \
}; \
CXXOVERLOADS(_N, W, T)
#define CXXOVERLOADS(_N, W, T)
Definition: array.h:39

◆ CXXMETHODS

#define CXXMETHODS (   _N,
  W,
 
)

◆ CXXOVERLOADS

#define CXXOVERLOADS (   _N,
  W,
 
)

◆ R123_W

#define R123_W (   a)    (8*sizeof(((a *)0)->v[0]))

Function Documentation

◆ _r123array_tpl() [1/4]

_r123array_tpl ( ,
32  ,
uint32_t   
)

◆ _r123array_tpl() [2/4]

uint32_t _r123array_tpl ( ,
32  ,
uint32_t   
)

◆ _r123array_tpl() [3/4]

uint32_t uint32_t _r123array_tpl ( ,
64  ,
uint64_t   
)

◆ _r123array_tpl() [4/4]

uint32_t uint32_t uint64_t _r123array_tpl ( ,
64  ,
uint64_t   
)