Skip to content

OhGodAGirl/solana-perf-libs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 and poh verify cuda implementations
  • libcl-crypt.so - ed25519 verify and poh verify OpenCL implementations

Copy libraries to the main Solana repo:

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

Build Solana:

$ cd $SOLANA_ROOT
$ cargo build --release

The library is loaded at startup by solana_perf::perf_libs. See perf/src/perf_libs.rs in the main Solana repo for details.

About

C and CUDA libraries to enhance Solana

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 38.9%
  • Objective-C 23.5%
  • C 17.7%
  • Cuda 17.1%
  • Makefile 1.5%
  • Shell 0.9%
  • Other 0.4%