File tree Expand file tree Collapse file tree 4 files changed +3
-23
lines changed Expand file tree Collapse file tree 4 files changed +3
-23
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ def define_common_targets():
21
21
"//executorch/extension/flat_tensor/serialize:generated_headers" ,
22
22
],
23
23
visibility = [
24
- "//executorch/... " ,
24
+ "@EXECUTORCH_CLIENTS " ,
25
25
],
26
26
)
Original file line number Diff line number Diff line change 8
8
9
9
#pragma once
10
10
11
- #ifdef __GNUC__
12
- // Disable -Wdeprecated-declarations, as some builds use 'Werror'.
13
- #pragma GCC diagnostic push
14
- #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
15
- #endif
16
-
17
11
#include < executorch/runtime/core/exec_aten/exec_aten.h>
18
12
#include < executorch/runtime/core/freeable_buffer.h>
19
13
#include < executorch/runtime/core/result.h>
@@ -27,7 +21,7 @@ namespace ET_RUNTIME_NAMESPACE {
27
21
* Interface to access and retrieve data via name.
28
22
* See executorch/extension/flat_tensor/ for an example.
29
23
*/
30
- class ET_EXPERIMENTAL NamedDataMap {
24
+ class NamedDataMap {
31
25
public:
32
26
virtual ~NamedDataMap () = default ;
33
27
/* *
@@ -81,7 +75,3 @@ class ET_EXPERIMENTAL NamedDataMap {
81
75
82
76
} // namespace ET_RUNTIME_NAMESPACE
83
77
} // namespace executorch
84
-
85
- #ifdef __GNUC__
86
- #pragma GCC diagnostic pop
87
- #endif
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ namespace ET_RUNTIME_NAMESPACE {
19
19
/* *
20
20
* Describes the layout of a tensor.
21
21
*/
22
- class ET_EXPERIMENTAL TensorLayout final {
22
+ class TensorLayout final {
23
23
public:
24
24
TensorLayout () = delete ;
25
25
Original file line number Diff line number Diff line change 8
8
9
9
#pragma once
10
10
11
- #ifdef __GNUC__
12
- // Disable -Wdeprecated-declarations, as some builds use 'Werror'.
13
- #pragma GCC diagnostic push
14
- #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
15
- #endif
16
-
17
11
#include < cinttypes>
18
12
#include < cstdint>
19
13
#include < optional>
@@ -322,7 +316,3 @@ namespace executor {
322
316
using ::executorch::ET_RUNTIME_NAMESPACE::Program;
323
317
} // namespace executor
324
318
} // namespace torch
325
-
326
- #ifdef __GNUC__
327
- #pragma GCC diagnostic pop
328
- #endif
You can’t perform that action at this time.
0 commit comments