am 51c5a9da: am 767dd80c: Merge "Fix a bug where kernels could modify the input allocation."

* commit '51c5a9da33bb9daa49306ed2a663bfa9ba365c59':
  Fix a bug where kernels could modify the input allocation.