BenjaSOL / ore-cli-gpu
- четверг, 18 апреля 2024 г. в 00:00:01
A command line interface for the Ore program to utilize Nvidia GPU's.
Built by @BenjaSOL & @KaedonsCrypto
To build the Ore CLI, you will need to have the Rust programming language installed. You can install Rust by following the instructions on the Rust website.
You must have CUDA installed
export CUDA_VISIBLE_DEVICES=<GPU_INDEX>Windows users
nvcc windows.cu -o windowsLinux users
nvcc linux.cu -o linuxTake the path to the executsble that was just created and replace the PATH_TO_EXE with the path to the .exe in the mine.rs.
Once you have Rust installed, you can build the Ore CLI by running the following command:
cargo build --release./target/release/ore.exe --rpc "" --priority-fee 1 --keypair 'path to keypair' --priority-fee 1 mine --threads 4You will now run your hashing on the GPU instead of the CPU!
Donations in ORE or SOL: EVK3M6Cth3uPZcATCtnZ16mqArSNXt5oC6kcmakwXudb