Skip to content

Commit

Permalink
Use TF_-prefixed macro TF_GUARDED_BY
Browse files Browse the repository at this point in the history
Signed-off-by: Max H. Gerlach <git@maxgerlach.de>
  • Loading branch information
maxhgerlach committed Apr 19, 2023
1 parent 2ef8ff9 commit caecc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horovod/tensorflow/xla_mpi_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class HVDCustomCallRendezvous {
typedef absl::flat_hash_map<uint64, Queue*> Table;

mutex mu_;
Table table_ GUARDED_BY(mu_);
Table table_ TF_GUARDED_BY(mu_);
};

/*static*/ HVDCustomCallRendezvous* GetHVDCustomCallRendezvous() {
Expand Down

0 comments on commit caecc5b

Please sign in to comment.