[v0.01] Reading PCI vendor/device values, needed to deduce the GPU chip and thus manufacturing process

This commit is contained in:
Dr-Noob
2021-08-13 11:31:51 +02:00
parent 8bc37d9d71
commit bdc4fd7c45
7 changed files with 134 additions and 3 deletions

11
src/cuda/pci.hpp Normal file
View File

@@ -0,0 +1,11 @@
#ifndef __PCI__
#define __PCI__
#include <stdint.h>
#include "nvmlb.hpp"
struct pci;
struct pci* get_pci_from_nvml(struct nvml_data* data);
#endif