Skip to content

Commit 4facb18

Browse files
authored
Fix build
Differential Revision: D69258405 Pull Request resolved: #8286
1 parent f4936e7 commit 4facb18

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

kernels/portable/cpu/util/targets.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ def define_common_targets():
273273
srcs = ["tensor_util.cpp"],
274274
exported_headers = ["tensor_util.h"],
275275
deps = [
276+
"//executorch/runtime/core/exec_aten:lib",
276277
"//executorch/runtime/kernel:kernel_includes",
277278
],
278279
visibility = ["//executorch/kernels/portable/cpu/..."],

kernels/portable/cpu/util/tensor_util.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "tensor_util.h"
2-
31
/*
42
* Copyright (c) Meta Platforms, Inc. and affiliates.
53
* All rights reserved.
@@ -8,8 +6,8 @@
86
* LICENSE file in the root directory of this source tree.
97
*/
108

9+
#include <executorch/kernels/portable/cpu/util/tensor_util.h>
1110
#include <executorch/runtime/core/exec_aten/util/tensor_util.h>
12-
1311
#include <executorch/runtime/platform/assert.h>
1412

1513
namespace executorch::runtime {

0 commit comments

Comments
 (0)