Skip to content

Commit ef1e3e1

Browse files
authored
fix a missed get_aten_mode_options spot (#8775)
This was the only spot that didn't use a tuple, so my find/replace missed it.
1 parent 464bd9e commit ef1e3e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernels/portable/cpu/util/targets.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
1+
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "get_aten_mode_options", "runtime")
22

33
def define_common_targets():
44
"""Defines targets that should be shared between fbcode and xplat.
@@ -281,7 +281,7 @@ def define_common_targets():
281281
)
282282

283283
# Utility functions that can be used by operators that perform reduction
284-
for aten_mode in [True, False]:
284+
for aten_mode in get_aten_mode_options():
285285
suffix = "_aten" if aten_mode else ""
286286
runtime.cxx_library(
287287
name = "reduce_util{}".format(suffix),

0 commit comments

Comments
 (0)