Skip to content

Commit 6feb1d5

Browse files
committed
Update
[ghstack-poisoned]
1 parent aab3e03 commit 6feb1d5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

kernels/portable/cpu/util/elementwise_util.h

+8-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ inline void apply_elementwise_fn(
119119
}
120120
});
121121
}
122-
} // namespace internal
123122

124123
template <typename CTYPE_COMPUTE, const char* op_name, typename Op>
125124
inline void apply_unitensor_elementwise_fn(
@@ -206,6 +205,14 @@ inline ScalarType get_compute_type(ScalarType& common_type) {
206205
}
207206
return compute_type;
208207
}
208+
} // namespace internal
209+
210+
// DEPRECATED: these APIs should not have been stabilized for external
211+
// use as they are undergoing active development.
212+
using internal::apply_bitensor_elementwise_fn;
213+
using internal::apply_tritensor_elementwise_fn;
214+
using internal::apply_unitensor_elementwise_fn;
215+
using internal::get_compute_type;
209216

210217
} // namespace utils
211218
} // namespace native

0 commit comments

Comments
 (0)