[SWDEV-498711] RDC Partition Implementation (#119)

* [SWDEV-498711] RDC Partition Implementation

Change-Id: Ibfc3709793770537e4c9d36458f34c6b4f461724
Signed-off-by: adapryor <Adam.pryor@amd.com>

[ROCm/rdc commit: 47692d3ed5]
This commit is contained in:
Pryor, Adam
2025-03-27 14:10:11 -05:00
committed by GitHub
parent 791fa376e9
commit fe868f6763
29 changed files with 1503 additions and 358 deletions
@@ -43,6 +43,9 @@ class RdciDmonSubSystem : public RdciSubSystem {
void show_field_usage() const;
void clean_up();
// Need to resolve gpu indexes after process is called
void resolve_gpu_indexes();
void create_temp_group();
void create_temp_field_group();
@@ -64,6 +67,7 @@ class RdciDmonSubSystem : public RdciSubSystem {
std::map<OPTIONS, uint32_t> options_;
std::vector<rdc_field_t> field_ids_;
std::string raw_gpu_indexes_;
std::vector<uint32_t> gpu_indexes_;
bool need_cleanup_;
uint64_t latest_time_stamp_;