GithubHelp home page GithubHelp logo

xmrig / xmrig-cuda Goto Github PK

View Code? Open in Web Editor NEW
343.0 38.0 153.0 417 KB

NVIDIA CUDA plugin for XMRig miner

License: GNU General Public License v3.0

CMake 4.26% Cuda 21.01% C++ 60.74% C 13.99%
xmrig randomx cryptonight cuda

xmrig-cuda's Introduction

xmrig-cuda

This repository contains the CUDA plugin for the XMRig miner, which provides support for NVIDIA GPUs.

This plugin is a separate project because of the main reasons listed below:

  1. Not all users require CUDA support, and it is an optional feature.
  2. CUDA has strict compiler version requirements that may conflict with the CPU mining code. For example, CUDA doesn't support GCC on Windows.

Windows

  • To download the plugin, you must choose the appropriate CUDA version. Generally, the latest version (12.4) is all you need, unless you have very old GPUs. Windows builds are available for every major CUDA release. Alternatively, you can build the plugin from the source.
  • Place xmrig-cuda.dll and other dll files near to xmrig.exe.
  • Edit config.json enable the plugin.
{
   ...
   "cuda": {
      "enabled": true,
      ...
   }
   ...
}

Advanced

You can specify the path to the plugin using the loader option.

{
   ...
   "cuda": {
      "enabled": true,
      "loader": "c:/some/path/xmrig-cuda.dll",
      ...
   }
   ...
}

Due to JSON format restrictions, the directory separator must be written in Linux style / or escaped \\.

Linux

Linux usage is almost the same as Windows except we don't provide binaries and you must build the plugin from the source and the name of the plugin is different libxmrig-cuda.so.

macOS

CUDA no longer supports macOS, which means that the plugin also does not support it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.