Exemple #1
0
 public void NewAndDispose()
 {
     using var nvml = new Nvml();
 }
Exemple #2
0
 public void GetPowerUsage()
 {
     using var nvml = new Nvml();
     Assert.NotNull(nvml.GetPowerUsage(0));
 }
Exemple #3
0
 public void GetFanpcnt()
 {
     using var nvml = new Nvml();
     Assert.NotNull(nvml.GetFanpcnt(0));
 }
Exemple #4
0
 public void GetTempC()
 {
     using var nvml = new Nvml();
     Assert.NotNull(nvml.GetTempC(0));
 }
Exemple #5
0
 public void GetPciId()
 {
     using var nvml = new Nvml();
     Assert.NotEmpty(nvml.GetPciId(0));
 }
Exemple #6
0
 public void GpuName()
 {
     using var nvml = new Nvml();
     Assert.NotEmpty(nvml.GpuName(0));
 }