Flatten `Computation` classes (#5230)
* Flatten `Computation` classes
* Remove compat_logging hack
* Remove wrap/unwrap
* Remove alias
* Remove unused fields
* Don't set hash when device is passed?
* Fix test build issue
* Move hash initialization
* formatting
* Consolidate constructors and add comments back
* formatting
* Update comments