SIGN IN SIGN UP

Convert `DeviceHandle` into a struct (#4186)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/4186

We already expose the only private member `VkDevice` from Adapter's public function `device_handle()` so nothing's really private. This change also makes it consistent with the layout of `PhysicalDevice` and allows decoupling from Adapter in the next change.
ghstack-source-id: 233085716
exported-using-ghexport

bypass-github-export-checks
bypass-github-pytorch-ci-checks
bypass-github-executorch-ci-checks

Reviewed By: SS-JIA

Differential Revision: D59540129

fbshipit-source-id: ced3cd5f6e40546caabfcd024a2d3225753ebf71
J
Jorge Pineda committed
81cf3ab538bc33bcdb2c4a60adb94d793be7532f
Parent: 073a96d
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 7/9/2024, 10:32:52 PM