CARLsim
6.1.0
CARLsim: a GPU-accelerated SNN simulator
|
Go to the source code of this file.
Macros | |
#define | ALL -1 |
CARLsim common definitions. More... | |
#define | ANY -1 |
used for create* method to specify any GPU or a specific GPU More... | |
#define | CARLSIM_ERROR(where, what) fprintf(stderr,"\033[31;1m[USER ERROR %s] %s\033[0m\n",where,what) |
#define | CARLSIM_INFO(where, what) fprintf(stdout,"\033[%s] %s\n",where,what) |
#define | CARLSIM_WARN(where, what) fprintf(stderr,"\033[33;1m[USER WARNING %s] %s\033[0m\n",where,what) |
#define | CHOLINERGIC_NEURON (TARGET_ACH | EXCITATORY_NEURON) |
#define | DOPAMINERGIC_NEURON (TARGET_DA | EXCITATORY_NEURON) |
#define | EXCITATORY_NEURON (TARGET_NMDA | TARGET_AMPA) |
#define | EXCITATORY_POISSON (EXCITATORY_NEURON | POISSON_NEURON) |
#define | INHIBITORY_NEURON (TARGET_GABAa | TARGET_GABAb) |
#define | INHIBITORY_POISSON (INHIBITORY_NEURON | POISSON_NEURON) |
#define | IS_EXCITATORY_TYPE(type) (!IS_INHIBITORY_TYPE(type)) |
#define | IS_INHIBITORY_TYPE(type) (((type) & TARGET_GABAa) || ((type) & TARGET_GABAb)) |
#define | MAX_NUM_COMP_CONN 4 |
#define | MAX_NUM_CUDA_DEVICES 8 |
#define | NORADRENERGIC_NEURON (TARGET_NE | EXCITATORY_NEURON) |
#define | POISSON_NEURON (1 << 0) |
#define | SEROTONERGIC_NEURON (TARGET_5HT | EXCITATORY_NEURON) |
#define | SYN_FIXED false |
#define | SYN_PLASTIC true |
#define | TARGET_5HT (1 << 6) |
#define | TARGET_ACH (1 << 7) |
#define | TARGET_AMPA (1 << 1) |
#define | TARGET_DA (1 << 5) |
#define | TARGET_GABAa (1 << 3) |
#define | TARGET_GABAb (1 << 4) |
#define | TARGET_NE (1 << 8) |
#define | TARGET_NMDA (1 << 2) |
#define | UNKNOWN_NEURON (0) |
#define ALL -1 |
used for the set* methods to specify all groups or a specific group
Definition at line 57 of file carlsim_definitions.h.
#define ANY -1 |
Definition at line 58 of file carlsim_definitions.h.
#define CARLSIM_ERROR | ( | where, | |
what | |||
) | fprintf(stderr,"\033[31;1m[USER ERROR %s] %s\033[0m\n",where,what) |
Definition at line 88 of file carlsim_definitions.h.
#define CARLSIM_INFO | ( | where, | |
what | |||
) | fprintf(stdout,"\033[%s] %s\n",where,what) |
Definition at line 90 of file carlsim_definitions.h.
#define CARLSIM_WARN | ( | where, | |
what | |||
) | fprintf(stderr,"\033[33;1m[USER WARNING %s] %s\033[0m\n",where,what) |
Definition at line 89 of file carlsim_definitions.h.
#define CHOLINERGIC_NEURON (TARGET_ACH | EXCITATORY_NEURON) |
Definition at line 81 of file carlsim_definitions.h.
#define DOPAMINERGIC_NEURON (TARGET_DA | EXCITATORY_NEURON) |
Definition at line 79 of file carlsim_definitions.h.
#define EXCITATORY_NEURON (TARGET_NMDA | TARGET_AMPA) |
Definition at line 78 of file carlsim_definitions.h.
#define EXCITATORY_POISSON (EXCITATORY_NEURON | POISSON_NEURON) |
Definition at line 83 of file carlsim_definitions.h.
#define INHIBITORY_NEURON (TARGET_GABAa | TARGET_GABAb) |
Definition at line 77 of file carlsim_definitions.h.
#define INHIBITORY_POISSON (INHIBITORY_NEURON | POISSON_NEURON) |
Definition at line 84 of file carlsim_definitions.h.
#define IS_EXCITATORY_TYPE | ( | type | ) | (!IS_INHIBITORY_TYPE(type)) |
Definition at line 86 of file carlsim_definitions.h.
#define IS_INHIBITORY_TYPE | ( | type | ) | (((type) & TARGET_GABAa) || ((type) & TARGET_GABAb)) |
Definition at line 85 of file carlsim_definitions.h.
#define MAX_NUM_COMP_CONN 4 |
Definition at line 95 of file carlsim_definitions.h.
#define MAX_NUM_CUDA_DEVICES 8 |
Definition at line 92 of file carlsim_definitions.h.
#define NORADRENERGIC_NEURON (TARGET_NE | EXCITATORY_NEURON) |
Definition at line 82 of file carlsim_definitions.h.
#define POISSON_NEURON (1 << 0) |
Definition at line 67 of file carlsim_definitions.h.
#define SEROTONERGIC_NEURON (TARGET_5HT | EXCITATORY_NEURON) |
Definition at line 80 of file carlsim_definitions.h.
#define SYN_FIXED false |
Definition at line 61 of file carlsim_definitions.h.
#define SYN_PLASTIC true |
Definition at line 62 of file carlsim_definitions.h.
#define TARGET_5HT (1 << 6) |
Definition at line 73 of file carlsim_definitions.h.
#define TARGET_ACH (1 << 7) |
Definition at line 74 of file carlsim_definitions.h.
#define TARGET_AMPA (1 << 1) |
Definition at line 68 of file carlsim_definitions.h.
#define TARGET_DA (1 << 5) |
Definition at line 72 of file carlsim_definitions.h.
#define TARGET_GABAa (1 << 3) |
Definition at line 70 of file carlsim_definitions.h.
#define TARGET_GABAb (1 << 4) |
Definition at line 71 of file carlsim_definitions.h.
#define TARGET_NE (1 << 8) |
Definition at line 75 of file carlsim_definitions.h.
#define TARGET_NMDA (1 << 2) |
Definition at line 69 of file carlsim_definitions.h.
#define UNKNOWN_NEURON (0) |
Definition at line 66 of file carlsim_definitions.h.