Files
rocm-systems/src
Mike Li 3437a356c7 Decouple user NodeID and sysfs NodeID
Currently, all HSA nodes are exposed to user. So the existing
implementation assumes a one to one mapping between user
NodeId and sysfs nodeId.
GPU Resource Management will provide control over the exposed
HSA nodes. This means not all HSA nodes will be exposed to the user.
Decouple it.
The mapping from user NodeId to sysfs NodeId will be local
to topology.c and topology helper functions. For others NodeId
should be sequential from 0 to Number of Nodes exposed to user.

v1: initial implementation
v2: map node id within the topology_* functions
v3: remove two static globals
v4: add bounds check got node id

Change-Id: Id12147ece41d682430f398944bbb339ca906eb1b
Signed-off-by: Mike Li <Tianxinmike.Li@amd.com>
2018-08-23 16:01:32 -04:00
..
2018-08-22 14:40:15 -04:00
2018-08-23 16:01:32 -04:00
2018-08-23 16:01:32 -04:00
2017-05-31 14:38:59 -04:00
2017-05-31 14:38:59 -04:00
2018-08-22 14:40:15 -04:00
2018-08-07 18:07:04 -04:00
2017-05-31 14:38:59 -04:00
2018-08-10 15:51:32 +08:00
2018-07-08 22:38:22 -04:00
2018-07-08 22:38:22 -04:00
2018-01-25 16:48:17 -05:00
2018-01-25 16:48:17 -05:00