commit | 7c6954f9c116c7f7378ff15dba66adb9a8830e22 | [log] [tgz] |
---|---|---|
author | Cindy Liu <hcindyl@google.com> | Fri Aug 20 12:14:44 2021 -0700 |
committer | Cindy Liu <hcindyl@google.com> | Fri Aug 20 12:14:44 2021 -0700 |
tree | 0b07c2c991a77660042fa7fc59b4ee4082aea809 | |
parent | 01c13d135878f9dab74cbde483e1e5cdab852e46 [diff] |
vec-iree: fix buffer unmap mechanism Per https://github.com/google/iree/blob/main/iree/hal/buffer.h#L430, only mapped buffer can be unmapped. Guard it with `iree_status_is_ok` check. Change-Id: Id997798b7e26a13eef8285100c78eb24df22d59c