Skip to content

Commit 91cd01d

Browse files
mcremon-metafacebook-github-bot
authored andcommitted
Forward-fixing G3 lt kernel
Summary: Got broken in D74489955, this shoud fix it. Differential Revision: D74558007
1 parent fa2e1f2 commit 91cd01d

File tree

1 file changed

+2
-2
lines changed
  • backends/cadence/fusion_g3/operators

1 file changed

+2
-2
lines changed

backends/cadence/fusion_g3/operators/op_lt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Tensor& lt_Tensor_out(
134134
} else {
135135
// @lint-ignore CLANGTIDY facebook-hte-CArray
136136
static constexpr const char op_name[] = "lt.Tensor_out";
137-
torch::executor::native::internal::comparison_tensor_out<op_name>(
137+
torch::executor::native::internal::comparison_tensor_out<std::less, op_name>(
138138
ctx, a, b, out);
139139
}
140140

@@ -188,7 +188,7 @@ Tensor& lt_Scalar_out(
188188
} else {
189189
// @lint-ignore CLANGTIDY facebook-hte-CArray
190190
static constexpr const char op_name[] = "lt.Scalar_out";
191-
torch::executor::native::internal::comparison_scalar_out<op_name>(
191+
torch::executor::native::internal::comparison_scalar_out<std::less, op_name>(
192192
ctx, a, b, out);
193193
}
194194

0 commit comments

Comments
 (0)