示例#1
0
        private List <Algorithm> GetSupportedAlgorithms(AMDDevice gpu)
        {
            var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsAMD(PluginUUID);

            if (PluginSupportedAlgorithms.UnsafeLimits(PluginUUID))
            {
                return(algorithms);
            }
            var filteredAlgorithms = Filters.FilterInsufficientRamAlgorithmsList(gpu.GpuRam, algorithms);

            return(filteredAlgorithms);
        }
示例#2
0
 public SgminerGMPlugin()
 {
     // set default internal settings
     MinerOptionsPackage             = PluginInternalSettings.MinerOptionsPackage;
     MinerSystemEnvironmentVariables = PluginInternalSettings.MinerSystemEnvironmentVariables;
     // https://github.com/nicehash/sgminer-gm/releases current v5.5.5-8
     MinersBinsUrlsSettings = new MinersBinsUrlsSettings
     {
         BinVersion = "v5.5.5-8",
         ExePath    = new List <string> {
             "sgminer.exe"
         },
         Urls = new List <string>
         {
             "https://github.com/nicehash/sgminer-gm/releases/download/5.5.5-8/sgminer-5.5.5-gm-nicehash-8-windows-amd64.zip",
         }
     };
     PluginMetaInfo = new PluginMetaInfo
     {
         PluginDescription          = "This is a multi-threaded multi-pool GPU miner with ATI GPU monitoring.",
         SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict()
     };
 }