Skip to content

Commit c2b3cf8

Browse files
Automated Code Change
PiperOrigin-RevId: 898425684
1 parent f1eaadd commit c2b3cf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xla/service/gpu/gpu_executable.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@ absl::Status GpuExecutable::ExecuteThunksWithVaRemapping(
14371437
run_options->run_options().command_buffer_va_range_idx();
14381438
VaRanges* va_ranges = nullptr;
14391439
{
1440-
absl::MutexLock lock(&va_ranges_mutex_);
1440+
absl::MutexLock lock(va_ranges_mutex_);
14411441
auto va_ranges_key = std::make_pair(executor, command_buffer_va_range_idx);
14421442
va_ranges = &module_va_ranges_[va_ranges_key];
14431443
}
@@ -1467,7 +1467,7 @@ absl::Status GpuExecutable::ExecuteThunksWithVaRemapping(
14671467
// Acquire per-executor mutex to protect VA range operations.
14681468
// This ensures only one thread uses the VA ranges at a time for this
14691469
// executor.
1470-
absl::MutexLock va_lock(&va_ranges->mutex);
1470+
absl::MutexLock va_lock(va_ranges->mutex);
14711471

14721472
// Initialize VA ranges if this is first use (va_reservation is null).
14731473
if (va_ranges->va_reservation == nullptr) {

0 commit comments

Comments
 (0)