private IEnumerable <Algorithm> GetSupportedAlgorithms(IGpuDevice gpu) { var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsGPU(PluginUUID).ToList(); if (PluginSupportedAlgorithms.UnsafeLimits(PluginUUID)) { return(algorithms); } var filteredAlgorithms = Filters.FilterInsufficientRamAlgorithmsList(gpu.GpuRam, algorithms); if (gpu is AMDDevice amd && (amd.Codename.ToLower().Contains("gfx10") || amd.Name.ToLower().Contains("navi"))) { filteredAlgorithms = filteredAlgorithms.Where(algo => algo.IDs.Count == 1).ToList(); } return(filteredAlgorithms); }
public ClaymoreDual14Plugin() { // set default internal settings MinerOptionsPackage = PluginInternalSettings.MinerOptionsPackage; // https://bitcointalk.org/index.php?topic=1433925.0 current v15.0 MinersBinsUrlsSettings = new MinersBinsUrlsSettings { BinVersion = "v15.0", ExePath = new List <string> { "Claymore's Dual Ethereum AMD+NVIDIA GPU Miner v15.0", "EthDcrMiner64.exe" }, Urls = new List <string> { "https://github.com/nicehash/MinerDownloads/releases/download/1.9.1.12b/Claymore.s.Dual.Ethereum.AMD+NVIDIA.GPU.Miner.v15.0.zip", "https://mega.nz/#F!O4YA2JgD!n2b4iSHQDruEsYUvTQP5_w?64RGzCIb" // original } }; PluginMetaInfo = new PluginMetaInfo { PluginDescription = "Miner for AMD and NVIDIA cards, supporting Dual mining.", SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict() }; }