Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extension/flat_tensor/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ def define_common_targets():
"//executorch/extension/flat_tensor/serialize:generated_headers",
],
visibility = [
"//executorch/...",
"@EXECUTORCH_CLIENTS",
],
)
12 changes: 1 addition & 11 deletions runtime/core/named_data_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@

#pragma once

#ifdef __GNUC__
// Disable -Wdeprecated-declarations, as some builds use 'Werror'.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif

#include <executorch/runtime/core/exec_aten/exec_aten.h>
#include <executorch/runtime/core/freeable_buffer.h>
#include <executorch/runtime/core/result.h>
Expand All @@ -27,7 +21,7 @@ namespace ET_RUNTIME_NAMESPACE {
* Interface to access and retrieve data via name.
* See executorch/extension/flat_tensor/ for an example.
*/
class ET_EXPERIMENTAL NamedDataMap {
class NamedDataMap {
public:
virtual ~NamedDataMap() = default;
/**
Expand Down Expand Up @@ -81,7 +75,3 @@ class ET_EXPERIMENTAL NamedDataMap {

} // namespace ET_RUNTIME_NAMESPACE
} // namespace executorch

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
2 changes: 1 addition & 1 deletion runtime/core/tensor_layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace ET_RUNTIME_NAMESPACE {
/**
* Describes the layout of a tensor.
*/
class ET_EXPERIMENTAL TensorLayout final {
class TensorLayout final {
public:
TensorLayout() = delete;

Expand Down
10 changes: 0 additions & 10 deletions runtime/executor/program.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@

#pragma once

#ifdef __GNUC__
// Disable -Wdeprecated-declarations, as some builds use 'Werror'.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif

#include <cinttypes>
#include <cstdint>
#include <optional>
Expand Down Expand Up @@ -322,7 +316,3 @@ namespace executor {
using ::executorch::ET_RUNTIME_NAMESPACE::Program;
} // namespace executor
} // namespace torch

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
Loading