Skip to content

Commit d966a47

Browse files
authored
Forward-fixing G3 lt kernel
Differential Revision: D74558007 Pull Request resolved: #10812
1 parent 42b55f4 commit d966a47

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

backends/cadence/fusion_g3/operators/op_lt.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ 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>(
138-
ctx, a, b, out);
137+
torch::executor::native::internal::
138+
comparison_tensor_out<std::less, op_name>(ctx, a, b, out);
139139
}
140140

141141
return out;
@@ -188,8 +188,8 @@ 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>(
192-
ctx, a, b, out);
191+
torch::executor::native::internal::
192+
comparison_scalar_out<std::less, op_name>(ctx, a, b, out);
193193
}
194194

195195
return out;

0 commit comments

Comments
 (0)