Skip to content

Conversation

@ysiraichi
Copy link
Collaborator

This PR removes the deprecated GetDefaultDevice(), and renames SafeGetDefaultDevice(), removing its Safe prefix. Then, it also adapts all GetDefaultDevice() call sites, so as to handle the returned status-like instance appropriately.

Key Changes:

  • Remove the deprecated GetDefaultDevice()
  • Rename SafeGetDefaultDevice() to GetDefaultDevice()
  • Handle the returned status-like instance of all GetDefaultDevice() call sites
  • Use [[deprecated(...)]] instead of ABSL_DEPRECATED for TryGetXlaTensor() function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants