Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XLA:Python] Use a string tag for devices in a heap profile rather th…
…an a numeric tag. This makes filtering of heap profiles by device in pprof work reliably, e.g.: ``` pprof --tagfocus device=gpu:1 myprofile.prof ``` With a numeric filter, it was difficult to filter on device 0 (perhaps because proto3 conflates absent and default values for protobuf fields.) PiperOrigin-RevId: 320998422 Change-Id: I537eba48a102f0f875aebf8452592d132e9947f1
- Loading branch information