Professional Documents
Culture Documents
See source1
Brain Simulations
See source6
See source5
Reconstruction Workflow
See source7
HH, 1952
See source8
Ion Channels
• Prominent components of nervous system
Lexical Analyzer
tokens
Syntax Analyzer
parse tree
NMODL
Semantic Analyzer
parse tree
~ Intermediate Representation
backends
Portable Performance
OpenACC Kernels
auto-generated kernel
wrap OpenACC and vectorisation hints related pragmas
AoS/SoA, Vectorisation, Memory Coalescing etc.. OpenACC API’s to copy the complex data structure
node_index
parent_index GPU: Cell level Parallelism (some kernels) Step 3
Step 2
Step 1
0 -1 5 -1 bksub: for(i = x; i < nodes; i++) {
step 0
}
node : 1 2 3 4
thread 0 parent[i]: 0 1 2 3
2 1 7 6
node : 6 7 8 9
3 2 8 7 thread 1
parent[i]: 5 6 7 8
Stride Depth of Tree
4 3 9 8
0
Memory addresses
Cell Interleaving
parent_index Nodes Parents
node_index
0 -1 Roots parent
all cells root
0 -1
1 -1
1 -1 2 0
2 0 3 1
Cell 0 parent
3 5 4 2
Cell 0 and
4 1 Cell 1 nodes 5 3
interleaved
5 6 6 4
6 2 7 5
Cell 1 parent
7 7 8 6
8 3 9 7
Permutations: ions, synapses, warp
areas, point processes.. 9 8
0
Memory addresses
A e-types B me-types C
cAC cSTUT dNAC cNAC bAC
Spike Exchange
(continuous Accommodating) (continuous Stuttering)
G
L1N G
L1N
37% 31% 5%
bAC bSTUT L23 NBC
L
L
(burst Accommodating) (burst Stuttering)
L2
L
L
L
L
cNAC dSTUT
• Electrical diversity: 11 e-types; 207 me-types (continuous Non-accommodating) (delayed Stuttering)
m-type
L
• dNAC
(delayed Non-accommodating)
bIR
(burst Irregular)
L6
L6
L6
GPU
copy initialize current solve state threshold
CPU
load queue MPI queue
setup dt
mindelay
Toolchain
Simple model…
hh Soma
pas
pas
Compartment
pas
pas
pas
Performance Kernels with cell level
parallelism, low occupancy!
Heterogeneous
Homogenous
Ideal
How much parallelism? How much imbalance?
ill - suited
Morphological diversity challenge
Resource
*Correspondence: henry.markram@epfl.ch
http://dx.doi.org/10.1016/j.cell.2015.09.029
• source 1: dgallery.s3.amazonaws.com
• source 2: clipartbest.com/cliparts, scaryforkids.com, geniusawakening.com
• source 3: developer.humanbrainproject.eu
• source 4: nature.com
• source 5: deviantart.net, squarespace.com
• source 6: lcn.epfl.ch
• source 7: nature.com
• source 8: genesis-sim.org
Backup
low occupancy!
larger cells