IReadOnlyList <Algorithm> GetSupportedAlgorithms(AMDDevice gpu) { var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsAMD(PluginUUID); if (PluginSupportedAlgorithms.UnsafeLimits(PluginUUID)) { return(algorithms); } var filteredAlgorithms = Filters.FilterInsufficientRamAlgorithmsList(gpu.GpuRam, algorithms); return(filteredAlgorithms); }
public TeamRedMinerPlugin() { // set default internal settings MinerOptionsPackage = PluginInternalSettings.MinerOptionsPackage; MinerSystemEnvironmentVariables = PluginInternalSettings.MinerSystemEnvironmentVariables; // https://github.com/todxx/teamredminer/releases MinersBinsUrlsSettings = new MinersBinsUrlsSettings { BinVersion = "0.6.1", ExePath = new List <string> { "teamredminer-v0.6.1-win", "teamredminer.exe" }, Urls = new List <string> { "https://github.com/todxx/teamredminer/releases/download/0.6.1/teamredminer-v0.6.1-win.zip", // original } }; PluginMetaInfo = new PluginMetaInfo { PluginDescription = "Miner for AMD gpus.", SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict() }; }