public AlgorithmContainer(Algorithm algorithm, PluginContainer pluginContainer, ComputeDevice computeDevice) { PluginContainer = pluginContainer; Algorithm = algorithm; ComputeDevice = computeDevice; computeDevice.PropertyChanged += ComputeDevice_PropertyChanged; OnPropertyChanged(nameof(IsUserEditable)); }
internal static void AddDevice(ComputeDevice dev) { _devices.Add(dev); }
public AlgorithmContainer(Algorithm algorithm, PluginContainer pluginContainer, ComputeDevice computeDevice) { PluginContainer = pluginContainer; Algorithm = algorithm; ComputeDevice = computeDevice; }