Skip to content

Commit 6a286a7

Browse files
committed
Update
[ghstack-poisoned]
1 parent dedfdaf commit 6a286a7

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)