janetsc commented on code in PR #12727:
URL: https://github.com/apache/tvm/pull/12727#discussion_r972509001
##########
src/runtime/hexagon/hexagon_device_api.h:
##########
@@ -138,7 +157,11 @@ class HexagonDeviceAPI final : public DeviceAPI {
}
//! \brief Manages underlying HexagonBuffer allocations
+ // runtime_hexbuffs is used for runtime allocations. It is created
+ // with a call to AcquireResources, and destroyed on ReleaseResources.
Review Comment:
This is so we can ensure that resources are cleaned up for a runtime
session, when we are doing tuning in a loop. We want the client side to
explicitly free resources.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]