Hardware/Nvidia/NvidiaGroup.cs
changeset 38 0e09d845eb00
parent 35 2daf59392c88
child 56 5cb7eb5bf628
     1.1 --- a/Hardware/Nvidia/NvidiaGroup.cs	Tue Feb 09 18:55:45 2010 +0000
     1.2 +++ b/Hardware/Nvidia/NvidiaGroup.cs	Tue Feb 09 19:42:33 2010 +0000
     1.3 @@ -65,10 +65,9 @@
     1.4        report.AppendLine();
     1.5  
     1.6        for (int i = 0; i < count; i++) {
     1.7 -        string gpuName;
     1.8 -        NVAPI.NvAPI_GPU_GetFullName(handles[i], out gpuName);
     1.9 -        if (gpuName != null && gpuName.Trim() != "")
    1.10 -          hardware.Add(new NvidiaGPU(i, handles[i]));
    1.11 +        NvidiaGPU gpu = new NvidiaGPU(i, handles[i]);
    1.12 +        if (gpu.IsAvailable)
    1.13 +          hardware.Add(gpu);
    1.14        }
    1.15      }
    1.16