aeyakovenko / solana-perf-libs

C and CUDA libraries to enhance Solana

Home Page:https://solana.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status

solana-perf-libs

CUDA, and more!

Building

After cloning this repo use the makefile in the root to build the tree with nvcc in your path:

$ export PATH=/usr/local/cuda/bin:$PATH
$ make -j$(nproc)

This should generate the libraries:

  • libcuda-crypt.so - ed25519 verify (used by leaders) and chacha (used by validators) cuda implementations

Copy libraries to the main Solana repo:

$ make DESTDIR=${SOLANA_ROOT:?}/target/perf-libs install

Build Solana with the performance features enabled:

$ cd $SOLANA_ROOT
$ cargo build --release --features=cuda

About

C and CUDA libraries to enhance Solana

https://solana.com

License:Other


Languages

Language:Cuda 37.3%Language:Objective-C 32.1%Language:C 27.9%Language:Makefile 1.3%Language:Shell 1.2%Language:Dockerfile 0.2%Language:Rust 0.1%