Ignore:
Timestamp:
Dec 3, 2010, 11:21:05 PM (11 years ago)
Author:
Sven Rech
Message:

keysearcher opencl stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/KeySearcherSettings.cs

    r2086 r2161  
    299299
    300300        private int openCLDevice;
    301         [TaskPane("OpenCL Device", "Choose the OpenCL you want to use.", GroupOpenCL, 2, false, DisplayLevel.Experienced, ControlType.DynamicComboBox, new string[] { "DevicesAvailable" })]
     301        [TaskPane("OpenCL Device", "Choose the OpenCL device you want to use.", GroupOpenCL, 2, false, DisplayLevel.Experienced, ControlType.DynamicComboBox, new string[] { "DevicesAvailable" })]
    302302        public int OpenCLDevice
    303303        {
     
    309309                    this.openCLDevice = value;
    310310                    OnPropertyChanged("OpenCLDevice");
     311                    HasChanges = true;
     312                }
     313            }
     314        }
     315
     316        private int openCLMode = 1;
     317        [TaskPane("OpenCL Mode", "Choose the OpenCL mode you want to use.", GroupOpenCL, 3, false, DisplayLevel.Experienced, ControlType.RadioButton, new string[] { "Low Load", "Normal Load", "High Load (use with caution)" })]
     318        public int OpenCLMode
     319        {
     320            get { return this.openCLMode; }
     321            set
     322            {
     323                if (value != this.openCLMode)
     324                {
     325                    this.openCLMode = value;
     326                    OnPropertyChanged("OpenCLMode");
    311327                    HasChanges = true;
    312328                }
Note: See TracChangeset for help on using the changeset viewer.