We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 464bd9e commit ef1e3e1Copy full SHA for ef1e3e1
kernels/portable/cpu/util/targets.bzl
@@ -1,4 +1,4 @@
1
-load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
+load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "get_aten_mode_options", "runtime")
2
3
def define_common_targets():
4
"""Defines targets that should be shared between fbcode and xplat.
@@ -281,7 +281,7 @@ def define_common_targets():
281
)
282
283
# Utility functions that can be used by operators that perform reduction
284
- for aten_mode in [True, False]:
+ for aten_mode in get_aten_mode_options():
285
suffix = "_aten" if aten_mode else ""
286
runtime.cxx_library(
287
name = "reduce_util{}".format(suffix),
0 commit comments