#include "Component.hpp"
#include "DataPath.hpp"
Go to the source code of this file.
◆ parseMt4gTopo() [1/3]
int parseMt4gTopo |
( |
Chip * | gpu, |
|
|
string | dataSourcePath, |
|
|
string | delim = ";" ) |
Parse GPU topology file generated by mt4g.
- Parameters
-
gpu | - the (already existing) Chip* gpu Component, where the topology and other information from mt4g will be inserted. |
dataSourcePath | - path to mt4g-generated result file. (.csv) |
delim | (default ";") - delimiter in the CSV |
◆ parseMt4gTopo() [2/3]
int parseMt4gTopo |
( |
Component * | parent, |
|
|
string | dataSourcePath, |
|
|
int | gpuId, |
|
|
string | delim = ";" ) |
Parse GPU topology file generated by mt4g.
- Parameters
-
parent | - parent Component, where the new GPU representation will be created (the GPU will be represented as a child (newly created Chip component) of the parent). |
dataSourcePath | - path to mt4g-generated result file. (.csv) |
gpuId | - ID of the new GPU Component. |
delim | (default ";") - delimiter in the CSV |
◆ parseMt4gTopo() [3/3]
int parseMt4gTopo |
( |
Node * | parent, |
|
|
string | dataSourcePath, |
|
|
int | gpuId, |
|
|
string | delim = ";" ) |
Parse GPU topology file generated by mt4g.
- Parameters
-
parent | - parent Node, where the new GPU representation will be created (the GPU will be represented as a child (newly created Chip component) of the parent). |
dataSourcePath | - path to mt4g-generated result file. (.csv) |
gpuId | - ID of the new GPU Component. |
delim | (default ";") - delimiter in the CSV |