Preallocate parameters on the CPU and unify preallocations (#840)
* Add preallocate method
* Add preallocate_param pass
* Preallocate buffers on the cpu
* Formatting
* Preallocate on the gpu
* Add missing cpp file
* Formatting
* Add lifetime function
* Formatting
* Always allocate
* Fix tidy warning
* Add const
* Add missing lifetime annotations
Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
Showing
src/targets/cpu/lowering.cpp
100644 → 100755
Please register or sign in to comment