Expand description
PoCX Plotter Library
Professional cryptocurrency plotting library for PoCX blockchain Provides high-performance CPU and GPU plotting capabilities
Re-exports§
pub use buffer::PageAlignedByteBuffer;pub use error::PoCXPlotterError;pub use error::Result;pub use ocl::get_gpu_device_info;pub use ocl::GpuDeviceInfo;pub use plotter::Plotter;pub use plotter::PlotterTask;
Modules§
- buffer
- compressor
- cpu_
hasher - disk_
writer - error
- gpu_
hasher - ocl
- OpenCL GPU acceleration module using opencl3 with dynamic loading.
- perf_
monitor - plotter
- utils
- xpu_
scheduler
Macros§
- safe_
unwrap - Utility macro for converting unwrap() to proper error handling
Structs§
- NoOp
Plotter Callback - No-op callback implementation for standalone usage
- Plotter
Task Builder - Builder for creating PlotterTask configurations programmatically
Traits§
- Plotter
Callback - Callback trait for plotter progress updates
Functions§
- clear_
plotter_ callback - Clear the global plotter callback (useful for resetting between runs) NOTE: This is a no-op. OnceLock cannot be cleared or replaced. The first registered callback persists for the app lifetime. This is fine in practice since the AppHandle remains valid.
- clear_
stop_ request - Clear the stop request (call before starting a new plot)
- get_
plotter_ callback - Get the global plotter callback
- is_
stop_ requested - Check if stop has been requested
- request_
stop - Request the plotter to stop as soon as possible
- run_
plotter_ safe - Run the plotter with panic safety
- set_
plotter_ callback - Set the global plotter callback NOTE: Only the first call takes effect. Subsequent calls are silently ignored due to OnceLock semantics. This is fine since the callback remains valid.