ZakuroLab / spacemesh-cuda

Spacemesh-cuda is a library for plot acceleration using CUDA-enabled GPUs.
MIT License
23 stars 12 forks source link
cuda gpu spacemesh zakurolab

Spacemesh-cuda is a library for plot acceleration using CUDA-enabled GPUs.

license release platform open help wanted issues made by

Table of Contents

1. Overview

spacemesh-cuda is a cuda library for plot acceleration for spacemesh. This library optimizes memory access, calculation parallelism, etc. Compared with the official program, the library improved by 86.6%.

2. Performance

GPU\Library Official spacemesh-cuda
RTX3080 3.2MB/s 5.97MB/s

3. Build & Integration Guide

3.1 From source

# build libpost.so
git clone https://github.com/ZakuroLab/post-rs.git && cd post-rs/ffi
cargo build --release
cd ../../

# get postcli
wget https://github.com/spacemeshos/post/releases/download/v0.12.5/postcli-Linux.zip
unzip -d postcli ./postcli-Linux.zip
cd postcli && mv ../post-rs/target/release/libpost.so ./

3.2 From binary

mkdir postcli && cd postcli
wget https://github.com/ZakuroLab/spacemesh-cuda/releases/download/v0.0.1/libpost.so
wget https://github.com/ZakuroLab/spacemesh-cuda/releases/download/v0.0.1/postcli

4. License

We welcome all contributions to spacemesh-cuda. Please refer to the license for the terms of contributions.

License: MIT