private List <Algorithm> GetSupportedAlgorithms(CUDADevice gpu) { var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsNVIDIA(PluginUUID).ToList(); if (PluginSupportedAlgorithms.UnsafeLimits(PluginUUID)) { return(algorithms); } var filteredAlgorithms = Filters.FilterInsufficientRamAlgorithmsList(gpu.GpuRam, algorithms); return(filteredAlgorithms); }
public CCMinerTpruvotPlugin() { // set default internal settings MinerOptionsPackage = PluginInternalSettings.MinerOptionsPackage; // https://github.com/tpruvot/ccminer/releases current 2.3.1 MinersBinsUrlsSettings = new MinersBinsUrlsSettings { BinVersion = "2.3.1", ExePath = new List <string> { "ccminer-x64.exe" }, Urls = new List <string> { "https://github.com/tpruvot/ccminer/releases/download/2.3.1-tpruvot/ccminer-2.3.1-cuda10.7z", // original } }; PluginMetaInfo = new PluginMetaInfo { PluginDescription = "NVIDIA miner for Lyra2REv3 and X16R.", SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict() }; }
protected override string AlgorithmName(AlgorithmType algorithmType) => PluginSupportedAlgorithms.AlgorithmName(algorithmType);