Skip to main content

cpu_output

Function cpu_output 

Source
pub fn cpu_output(s: &mut Storage) -> Result<&mut CpuStorageBytes>
Expand description

Helper: extract &mut CpuStorageBytes from &mut Storage. pub (along with cpu_input, read_storage, write_storage) so external backend crates (fuel-mkl-cpu-backend, fuel-aocl-cpu-backend) can build their own binding-table wrappers without reimplementing the lock + dtype-match shape.