Skip to main content

exec_dram

Function exec_dram 

Source
pub fn exec_dram(heap: &mut [Row], prim: &Prim) -> Option<()>
Expand description

Execute prim on the DRAM-compute plane (ComputeDRAM semantics): RowClone for copy, the sense-amp majority reduction for AND (MAJ(a,b,0)) and OR (MAJ(a,b,1)). Returns None for ops with no plain- ComputeDRAM realization (the descriptor’s dram: false ops). MUST agree op-for-op with exec_reference.