Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Code Change #21586

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xla/tsl/util/device_name_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ class DeviceNameUtils {
static absl::Status DeviceNameToCpuDeviceName(const std::string& device_name,
std::string* host_device_name);

static bool CompareFullNames(const absl::string_view& a,
const absl::string_view& b) {
static bool CompareFullNames(const absl::string_view a,
const absl::string_view b) {
ParsedName parsed_a;
ParsedName parsed_b;
bool a_status = ParseFullName(a, &parsed_a);
Expand Down
2 changes: 1 addition & 1 deletion xla/tsl/util/stats_calculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class StatsCalculator {

std::string HeaderString(const std::string& title) const;
std::string ColumnString(const Detail& detail,
const int64_t cumulative_stat_on_node,
int64_t cumulative_stat_on_node,
const Stat<int64_t>& stat) const;

Stat<int64_t> run_total_us_;
Expand Down
7 changes: 3 additions & 4 deletions xla/tsl/util/use_cudnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ int64_t DebugCudnnRnnAlgo();
// Returns true if the CuDNN depthwise convolution can be used. See cudnn
// release note 7.6.3.
// (https://docs.nvidia.com/deeplearning/sdk/cudnn-release-notes/rel_763.html)
bool ShouldCudnnGroupedConvolutionBeUsed(const int32_t filter_rows,
const int32_t filter_cols,
const int32_t in_depth,
const int32_t out_depth);
bool ShouldCudnnGroupedConvolutionBeUsed(int32_t filter_rows,
int32_t filter_cols, int32_t in_depth,
int32_t out_depth);
} // namespace tsl

#endif // XLA_TSL_UTIL_USE_CUDNN_H_