pwn-ffi-volk
Drive PWN::FFI::Volk from pwn_eval.
SKILL.mdetc/default_skills/pwn/ffi/volk/SKILL.md
GitHubPWN::FFI::Volk
Thin VOLK (Vector-Optimized Library of Kernels) binding. Dispatches to SIMD kernels (SSE/AVX/NEON/…) when the host provides them. Used by PWN::SDR::Decoder::DSP hot paths so MHz-rate I/Q work stays off the Ruby GC heap while orchestration remains pure Ruby. Nothing here shells out and nothing is compiled at gem-install time — if libvolk is missing, .available? is false and callers fall back.
When to use
Call PWN::FFI::Volk from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/ffi/volk.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::FFI::Volk.help
PWN::FFI::Volk.available(opts)
Public methods
availableunpack_s16leaccumulatemagnitude_squaredsqrtscaledot_prodauthorshelpavailable?load_errorvolk_16i_s32f_convert_32fvolk_16i_s32f_convert_32f=volk_32f_accumulator_s32fvolk_32f_accumulator_s32f=volk_32f_s32f_multiply_32fvolk_32f_s32f_multiply_32f=volk_32f_sqrt_32fvolk_32f_sqrt_32f=volk_32f_x2_dot_prod_32fvolk_32f_x2_dot_prod_32f=volk_32fc_magnitude_squared_32fvolk_32fc_magnitude_squared_32f=volk_freevolk_get_alignmentvolk_malloc
Source
pwn/ffi/volk.rb
Verification
PWN::FFI::Volk.respond_to?(:available) after the
module is loaded. Read the source for parameter names.