Пример #1
0
 public GpuDevice(int id,
                  string platform,
                  int coreCount,
                  int threadCount,
                  DeviceArch architecture)
     : base(id, platform, coreCount, threadCount, architecture)
 {
 }
Пример #2
0
 public CudaGpuDevice(int id,
                      string platform,
                      int coreCount,
                      int threadCount,
                      DeviceArch architecture,
                      GPUUsageInformation usageInformation)
     : base(id, platform, coreCount, threadCount, architecture)
 {
     UsageInformation = usageInformation;
 }
Пример #3
0
 protected Device(int id,
                  string platform,
                  int coreCount,
                  int threadCount,
                  DeviceArch architecture)
 {
     Id           = id;
     Platform     = platform;
     CoreCount    = coreCount;
     ThreadCount  = threadCount;
     Architecture = architecture;
 }