Use the correct offset when creating render nodes on each partition mode on MI300 (#310)

* Use the correct offset when creating render nodes on each partition mode on MI300

* Use the correct offset when creating render nodes on each partition mode on MI300

* code clean up
Αυτή η υποβολή περιλαμβάνεται σε:
Aryan Salmanpour
2024-04-09 18:17:02 -04:00
υποβλήθηκε από GitHub
γονέας f8bf587f92
υποβολή f2d1ad75eb
2 αρχεία άλλαξαν με 35 προσθήκες και 20 διαγραφές
@@ -89,7 +89,6 @@ private:
rocDecStatus DestroyDataBuffers();
void GetVisibleDevices(std::vector<int>& visible_devices);
void GetCurrentComputePartition(std::vector<ComputePartition> &currnet_compute_partitions);
void GetNumRenderCardsPerDevice(std::string device_name, uint8_t device_id, std::vector<int>& visible_devices,
std::vector<ComputePartition> &current_compute_partitions,
int &num_render_cards_per_socket, int &offset);
void GetDrmNodeOffset(std::string device_name, uint8_t device_id, std::vector<int>& visible_devices,
std::vector<ComputePartition> &current_compute_partitions, int &offset);
};