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
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class BackendDelegate;
namespace torch {
namespace executor {

class CoreMLBackendDelegate final : public PyTorchBackendInterface {
class CoreMLBackendDelegate final : public ::executorch::runtime::BackendInterface {
public:
CoreMLBackendDelegate() noexcept;
~CoreMLBackendDelegate() = default;
Expand Down
2 changes: 1 addition & 1 deletion backends/apple/mps/runtime/MPSBackend.mm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
namespace torch {
namespace executor {

class MPSBackend final : public PyTorchBackendInterface {
class MPSBackend final : public ::executorch::runtime::BackendInterface {
public:
~MPSBackend() = default;

Expand Down
2 changes: 1 addition & 1 deletion backends/arm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Quantization:
- `arm_quantizer_utils.py` - Utilities for quantization

Runtime:
- `runtime/ArmBackendEthosU.cpp` - The Arm backend implementation of the ExecuTorch runtime backend (PyTorchBackendInterface) for Ethos-U
- `runtime/ArmBackendEthosU.cpp` - The Arm backend implementation of the ExecuTorch runtime backend (BackendInterface) for Ethos-U

Other:
- `third-party/` - Dependencies on other code - in particular the TOSA serialization_lib for compiling to TOSA and the ethos-u-core-driver for the bare-metal backend supporting Ethos-U
Expand Down
2 changes: 1 addition & 1 deletion backends/arm/runtime/ArmBackendEthosU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ArmBackendExecuteCallbacks {
}
};

class ArmBackend final : public PyTorchBackendInterface {
class ArmBackend final : public ::executorch::runtime::BackendInterface {
public:
ArmBackend() {}

Expand Down
2 changes: 1 addition & 1 deletion backends/mediatek/runtime/include/NeuronBackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace torch {
namespace executor {

class NeuronBackend final : public PyTorchBackendInterface {
class NeuronBackend final : public ::executorch::runtime::BackendInterface {
public:
Result<DelegateHandle*> init(
BackendInitContext& context,
Expand Down
3 changes: 2 additions & 1 deletion backends/qualcomm/runtime/QnnExecuTorchBackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
namespace torch {
namespace executor {

class QnnExecuTorchBackend final : public PyTorchBackendInterface {
class QnnExecuTorchBackend final
: public ::executorch::runtime::BackendInterface {
public:
~QnnExecuTorchBackend(){};

Expand Down
2 changes: 1 addition & 1 deletion backends/vulkan/runtime/VulkanBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ void maybe_resize_output(
// VulkanBackend class
//

class VulkanBackend final : public PyTorchBackendInterface {
class VulkanBackend final : public ::executorch::runtime::BackendInterface {
public:
~VulkanBackend() override = default;

Expand Down
2 changes: 1 addition & 1 deletion backends/xnnpack/runtime/XNNPACKBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace torch {
namespace executor {

class XnnpackBackend final : public PyTorchBackendInterface {
class XnnpackBackend final : public ::executorch::runtime::BackendInterface {
public:
~XnnpackBackend() = default;

Expand Down
2 changes: 1 addition & 1 deletion exir/backend/test/demos/rpc/ExecutorBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace executor {
* front-end before having the actual backend ready.
*/

class ExecutorBackend final : public PyTorchBackendInterface {
class ExecutorBackend final : public ::executorch::runtime::BackendInterface {
public:
~ExecutorBackend() = default;

Expand Down
Loading