Skip to content

Commit

Permalink
fixes after rebase conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanNijjar committed Jan 3, 2025
1 parent f1b53f0 commit 3ff6e59
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ Tensor all_gather_async(
std::vector<Tensor> output_tensors = {Tensor(operation::get_workers_for_op_output({input_tensor}))};
CoreCoord grid_size = devices[0]->compute_with_storage_grid_size();
auto core_grid = CoreRange({0, 0}, {grid_size.x - 1, grid_size.y - 1});
std::optional<std::vector<std::shared_ptr<const GlobalSemaphore>>> semaphore_handles_opt;
std::optional<std::vector<std::shared_ptr<const GlobalSemaphore>>> semaphores_opt;
if (create_semaphore_handles) {
semaphore_handles_opt = ttnn::ccl::worker_detail::create_global_semaphores(devices, core_grid, subdevice_id);
semaphores_opt = ttnn::ccl::worker_detail::create_global_semaphores(devices, core_grid, subdevice_id);
}

operation::launch_op(
Expand Down

0 comments on commit 3ff6e59

Please sign in to comment.