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

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

* code clean up
Этот коммит содержится в:
Aryan Salmanpour
2024-04-09 20:28:57 -04:00
коммит произвёл GitHub
родитель 3fb392e6fc
Коммит 214187ce11
2 изменённых файлов: 34 добавлений и 18 удалений
+2 -2
Просмотреть файл
@@ -82,9 +82,9 @@ private:
RocJpegStatus 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,
void GetDrmNodeOffset(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);
int &offset);
};
#endif // ROC_JPEG_VAAPI_DECODER_H_