pocx_plotter
High-performance plot file generator with CPU and GPU acceleration support.
Features
- Multi-Threaded CPU: Efficient CPU plotting with thread scheduling
- GPU Acceleration: Optional OpenCL support for faster plotting
- SIMD Optimizations: Leverages pocx_hashlib SIMD implementations
- Memory Management: Page-aligned buffers and efficient memory usage
- Compression Support: POW scaling via compression parameter
- Progress Monitoring: Real-time plotting progress with indicatif
- Resume Support: Continue interrupted plotting with seed parameter
Quick Start
# CPU plotting (10 warps = ~10GB)
# GPU plotting with OpenCL
# With compression (2^4 scaling)
# Resume plotting with seed
Build
# CPU-only build
# With OpenCL support
# List OpenCL devices
Command Line Options
-i, --id <address>- Your PoC mining address (required)-p, --path <path>- Target disk path(s) for plot files-w, --warps <warps>- Number of warps to plot (1 warp = 1 GiB)-n, --num <number>- Number of files to plot (default: 1)-x, --compression <level>- POW scaling factor (default: 1)-s, --seed <seed>- Seed to resume unfinished plot-c, --cpu <threads>- CPU threads to use-g, --gpu <platform:device:cores>- GPU configuration for plotting-m, --mem <memory>- Memory limit when plotting multiple disks-b, --bench- Run in benchmark mode-o, --opencl- Display OpenCL platforms and devices
OpenCL GPU Plotting
# List available OpenCL devices
# Use specific GPU (platform 0, device 0)
# Multiple GPUs with custom core count
License
MIT License - See LICENSE for details.