Esempio n. 1
0
        private void GetAvailableDevices()
        {
            SystemDevices.Add("Single Thread");
            SystemDevices.Add("Parallel CPU");


            foreach (Device device in MandelbrotInstance.ContextInstance.Devices)
            {
                if (device.AcceleratorType == AcceleratorType.CPU)
                {
                    _CPUDevice = device;
                }
            }

            SystemDevices.Add(_CPUDevice.Name);
        }