Skip to content
Merged
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
2 changes: 1 addition & 1 deletion csrc/alias_analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void AliasFinder::handle(const BroadcastOp* bcast) {
for (const auto i : arange(out_logical.size())) {
if (bcast->isBroadcastDim(i)) {
out_allocation.push_back(out_logical[i]);
out_contiguity.emplace_back(std::nullopt);
out_contiguity.push_back(std::nullopt);
}
}

Expand Down
2 changes: 1 addition & 1 deletion csrc/ir/nodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3966,7 +3966,7 @@ std::vector<IterDomain*> TensorDomain::noDevices(
contiguity.reserve(allocation_domain.size());
for (auto id : allocation_domain) {
if (id->isBroadcast() || id->isReduction()) {
contiguity.emplace_back(std::nullopt);
contiguity.push_back(std::nullopt);
} else {
contiguity.emplace_back(fill_value);
}
Expand Down
1 change: 0 additions & 1 deletion csrc/transform_replay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ void TransformReplay::selfReplay(
for (auto* id : new_self->logical()) {
if (id->isReduction()) {
new_allocation.push_back(id);
// NOLINTNEXTLINE(modernize-use-emplace)
new_contiguities.push_back(std::nullopt);
}
}
Expand Down