Пример #1
0
        IReadOnlyList <Algorithm> GetSupportedAlgorithms(CUDADevice gpu)
        {
            var algorithms = PluginSupportedAlgorithms.GetSupportedAlgorithmsNVIDIA(PluginUUID);

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

            return(filteredAlgorithms);
        }
Пример #2
0
 public MiniZPlugin()
 {
     // set default internal settings
     MinerOptionsPackage = PluginInternalSettings.MinerOptionsPackage;
     // https://miniz.ch/usage/#command-line-arguments | https://miniz.ch/download/#latest-version
     MinersBinsUrlsSettings = new MinersBinsUrlsSettings
     {
         BinVersion = "v1.5q6",
         ExePath    = new List <string> {
             "miniZ.exe"
         },
         Urls = new List <string>
         {
             "https://github.com/nicehash/MinerDownloads/releases/download/1.9.1.12b/miniZ_v1.5q6_cuda10_win-x64.zip",
             "https://miniz.ch/?smd_process_download=1&download_id=3083", // original
         }
     };
     PluginMetaInfo = new PluginMetaInfo
     {
         PluginDescription          = "miniZ is a fast and friendly Equihash miner.",
         SupportedDevicesAlgorithms = PluginSupportedAlgorithms.SupportedDevicesAlgorithmsDict()
     };
 }
Пример #3
0
 protected virtual string AlgorithmName(AlgorithmType algorithmType) => PluginSupportedAlgorithms.AlgorithmName(algorithmType);