Skip to content

Commit

Permalink
[xla:cpu] Fix mac os compilation error part 2
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 719022795
  • Loading branch information
ezhulenev authored and Google-ML-Automation committed Jan 23, 2025
1 parent 53c999d commit e9a1a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xla/backends/cpu/runtime/kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Kernel::ParallelTask<thread_dim_x_only>::ParallelTask(

template <bool thread_dim_x_only>
absl::Status Kernel::ParallelTask<thread_dim_x_only>::operator()(
uint64_t task_index) const {
size_t task_index) const {
DCHECK_LT(task_index, num_tasks_) << "Task index out of range"; // Crash OK

XLA_CPU_KernelThread kernel_thread = Delinearize(task_index);
Expand Down

0 comments on commit e9a1a97

Please sign in to comment.