Skip to main content

Module npu_ffi

Module npu_ffi 

Source
Expand description

GPU sieve and native host domain bridges Uses wgpu to execute cross-platform GPU compute shaders (Vulkan/DX12/Metal/WebGPU) that filter the 5th Vector of the NQuin parallel arrays.

Modules§

gpu_sieve

Functions§

nets_calculate_valency
NPU valency for the net.
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⚠
NPU FFI: tropical-Voronoi route on the accelerator.