You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[IFRT] Change tsl::RCReference<xla::ifrt::DeviceList> to xla::ifrt::DeviceListRef
IFRT will introduce a wrapper around `tsl::RCReference<xla::ifrt::DeviceList>`
that is more concise and is also safer to use (e.g., equality and hash compares
the dereferenced value, not the `tsl::RCReference`.
This migration will happen in 3 steps:
1. Define `xla::ifrt::DeviceListRef` alias that is interchangeable with `tsl::RCReference<xla::ifrt::DeviceList>`.
2. Change `tsl::RCReference<xla::ifrt::DeviceList>` to `xla::ifrt::DeviceListRef` in IFRT API, implementations, and user code. (current step)
3. Introduce a real wrapper `xla::ifrt::DeviceListRef`, replacing the alias.
PiperOrigin-RevId: 730231976
0 commit comments