mirror of
https://github.com/wagesj45/butterflow-ui.git
synced 2025-09-09 03:00:39 -05:00
Added a call to butterflow to get compute devices, as well as a user setting that lets them set which device they want to use. I only have a single GPU, so I am unable to test this.
50 lines
1.9 KiB
C#
50 lines
1.9 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace butterflow_ui.Properties {
|
|
|
|
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")]
|
|
public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
|
|
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
|
|
|
public static Settings Default {
|
|
get {
|
|
return defaultInstance;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("en-US")]
|
|
public global::System.Globalization.CultureInfo Language {
|
|
get {
|
|
return ((global::System.Globalization.CultureInfo)(this["Language"]));
|
|
}
|
|
set {
|
|
this["Language"] = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
|
public int Device {
|
|
get {
|
|
return ((int)(this["Device"]));
|
|
}
|
|
set {
|
|
this["Device"] = value;
|
|
}
|
|
}
|
|
}
|
|
}
|