Skip to main content

Module npu_ffi

Module npu_ffi 

Source
Expand description

GPU/NPU Sieve Uses wgpu to execute cross-platform compute shaders (Vulkan/DirectML/Metal/WebGPU) that filter the 5th Vector of the NQuin parallel arrays.

Modules§

gpu_sieve

Functions§

nets_calculate_valency
nets_map_lorentz
Core 2 FFI Bindings for Non-Euclidean Tropical Sieve (NETS) These C-ABI functions expose the Lorentz mapping and Min-Plus tropical arithmetic directly to the GPU/NPU orchestration layer, guaranteeing $O(1)$ routing.
nets_parse_smiles
Pure Rust Valency & Stoichiometric Bridges Previously C-ABI, now migrated to native Rust to avoid FFI overhead.
nets_tropical_voronoi_route