NEURON
bgpdmasetup.cpp File Reference
#include "oc_ansi.h"
#include <nrnisaac.h>

Go to the source code of this file.

Classes

class  TarList
 

Macros

#define all2allv_perf   0
 

Typedefs

using Int2TarList = std::unordered_map< int, std::unique_ptr< TarList > >
 

Functions

void celldebug (const char *p, Gid2PreSyn &map)
 
void alltoalldebug (const char *p, int *s, int *scnt, int *sdispl, int *r, int *rcnt, int *rdispl)
 
static void del (int *a)
 
static int * newintval (int val, int size)
 
static int * newoffset (int *acnt, int size)
 
static void all2allv_helper (int *scnt, int *sdispl, int *&rcnt, int *&rdispl)
 
static void all2allv_int (int *s, int *scnt, int *sdispl, int *&r, int *&rcnt, int *&rdispl, const char *dmes)
 
static void random_init (int i)
 
static unsigned int get_random ()
 
static int iran (int i1, int i2)
 
static void phase2organize (TarList *tl)
 
static int setup_target_lists (int **)
 
static void fill_dma_send_lists (int, int *)
 
static void setup_presyn_dma_lists ()
 

Variables

static voidranstate
 

Macro Definition Documentation

◆ all2allv_perf

#define all2allv_perf   0

Definition at line 144 of file bgpdmasetup.cpp.

Typedef Documentation

◆ Int2TarList

using Int2TarList = std::unordered_map<int, std::unique_ptr<TarList> >

Definition at line 183 of file bgpdmasetup.cpp.

Function Documentation

◆ all2allv_helper()

static void all2allv_helper ( int *  scnt,
int *  sdispl,
int *&  rcnt,
int *&  rdispl 
)
static

Definition at line 127 of file bgpdmasetup.cpp.

◆ all2allv_int()

static void all2allv_int ( int *  s,
int *  scnt,
int *  sdispl,
int *&  r,
int *&  rcnt,
int *&  rdispl,
const char *  dmes 
)
static

Definition at line 147 of file bgpdmasetup.cpp.

◆ alltoalldebug()

void alltoalldebug ( const char *  p,
int *  s,
int *  scnt,
int *  sdispl,
int *  r,
int *  rcnt,
int *  rdispl 
)

Definition at line 56 of file bgpdmasetup.cpp.

◆ celldebug()

void celldebug ( const char *  p,
Gid2PreSyn map 
)

Definition at line 55 of file bgpdmasetup.cpp.

◆ del()

static void del ( int *  a)
static

Definition at line 99 of file bgpdmasetup.cpp.

◆ fill_dma_send_lists()

static void fill_dma_send_lists ( int  sz,
int *  r 
)
static

Definition at line 302 of file bgpdmasetup.cpp.

◆ get_random()

static unsigned int get_random ( )
static

Definition at line 212 of file bgpdmasetup.cpp.

◆ iran()

static int iran ( int  i1,
int  i2 
)
static

Definition at line 216 of file bgpdmasetup.cpp.

◆ newintval()

static int* newintval ( int  val,
int  size 
)
static

Definition at line 105 of file bgpdmasetup.cpp.

◆ newoffset()

static int* newoffset ( int *  acnt,
int  size 
)
static

Definition at line 116 of file bgpdmasetup.cpp.

◆ phase2organize()

static void phase2organize ( TarList tl)
static

Definition at line 226 of file bgpdmasetup.cpp.

◆ random_init()

static void random_init ( int  i)
static

Definition at line 205 of file bgpdmasetup.cpp.

◆ setup_presyn_dma_lists()

static void setup_presyn_dma_lists ( )
static

Definition at line 273 of file bgpdmasetup.cpp.

◆ setup_target_lists()

static int setup_target_lists ( int **  r_return)
static

Definition at line 377 of file bgpdmasetup.cpp.

Variable Documentation

◆ ranstate

void* ranstate
static

Definition at line 203 of file bgpdmasetup.cpp.