UWB-Biocomputing / Graphitti

A project to facilitate construction of high-performance simulations of graph-structured systems.
https://uwb-biocomputing.github.io/Graphitti/
Apache License 2.0
7 stars 14 forks source link

Create device configuration subsystem #6

Open stiber opened 8 years ago

stiber commented 8 years ago

This should do the following:

  1. Get information about simulation configuration (number of devices, which devices, which models, etc.)
  2. Read device information for all requested devices
  3. Allocate neurons to devices (incoming synapses live on the same device as their neuron)
  4. Calculate threads per block, number of blocks per device.

How do we specify the specific devices to use in a way that makes sense and will work on multiple machines (not just raiju or cerberus)?

stiber commented 5 years ago

Preliminarily, we are adding a number of threads per block member variable to the ClusterInfo object. However, that really should be calculated separately for each kernel. Need to think about what to store and where to enable this during system initialization.