public System() { _cpu = new CPU(); _gpu = new GPU(); _bus = new Bus(_cpu, _gpu); _cpu.Bus = _bus; _gpu.Bus = _bus; }
public Lenovo_Unknown(ICPU CPU, IGPU GPU) { this.Socket = Sockets.LGA1151; this.CompatibleCPUs = new Type[] { new IntelCore_I3_6100().GetType() }; this.CPU = CPU; if (GPU != null) { this.GPU = GPU; } else { this.GPU = new GTX1050(); } }
public Aorus_X590(ICPU CPU, IGPU GPU) { this.Socket = Sockets.AM4; this.CompatibleCPUs = new Type[] { new Ryzen5_5600X().GetType() }; this.CPU = CPU; if (GPU != null) { this.GPU = GPU; } else { this.GPU = new GTX1050(); } }
public Aorus_Z370(ICPU CPU, IGPU GPU) { this.Socket = Sockets.AM4; this.CompatibleCPUs = new Type[] { new IntelCore_I3_6100().GetType(), new IntelCore_I5_9300H().GetType() }; this.CPU = CPU; if (GPU != null) { this.GPU = GPU; } else { this.GPU = new GTX1050(); } }
static void Main() { IGPU gpu = null; try { gpu = GPUDevice.Instance; if (gpu.Vendor == GPUVendor.AMD) { /* AMD Saturation (equals to Digital Vibrance of Nvidia) is not supported yet. */ System.Windows.Forms.MessageBox.Show( "AMD Device Detected - Saturation is not supported yet.", "Warning", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning ); } } catch (NotImplementedException) { System.Windows.Forms.MessageBox.Show( "Intel/Nvidia Optimus/Etc Device Detected - Will be supported soon", "Nvidia GPU is not found!", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Error ); System.Threading.Thread.Sleep(1000); Application.Exit(); } // Open Main Form Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); mForm = new MainForm(); Application.Run(mForm); // Unload NvAPI dll after Application.Exit() if (gpu != null) { gpu.Close(); } }
public Bus(ICPU cpu, IGPU gpu) { _cpu = cpu; _gpu = gpu; }
public GPUController(IGPU Iproduct, ICategoryGPU Icategories) { product = Iproduct; _categories = Icategories; }
private Computer(ICPU CPU, IGPU GPU) { this.CPU = CPU; this.GPU = GPU; }