mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
This reverts commit 515c19a3856e953c0fe23a0ed4fa844f8eea34d8. Reverted https://github.com/pytorch/pytorch/pull/154165 on behalf of https://github.com/seemethere due to This is failing when attempting to test against executorch main internally, author has acknowledged that this should be reverted ([comment](https://github.com/pytorch/pytorch/pull/154165#issuecomment-2931489616))
23 lines
626 B
C++
23 lines
626 B
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
// ${generated_comment}
|
|
// Exposing an API for registering all kernels at once.
|
|
#include <executorch/runtime/core/evalue.h>
|
|
#include <executorch/runtime/core/exec_aten/exec_aten.h>
|
|
#include <executorch/runtime/kernel/operator_registry.h>
|
|
#include <executorch/runtime/platform/profiler.h>
|
|
|
|
namespace torch {
|
|
namespace executor {
|
|
|
|
Error register_all_kernels();
|
|
|
|
} // namespace executor
|
|
} // namespace torch
|