blob: d4a24a36af57fc1b8700e68d33084daf8908f4f1 [file] [log] [blame]
/*
* 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.
*/
#include <executorch/kernels/portable/cpu/pattern/pattern.h>
#include <executorch/runtime/kernel/kernel_includes.h>
#include <cmath>
namespace torch {
namespace executor {
namespace native {
using exec_aten::Tensor;
Tensor& ceil_out(RuntimeContext& ctx, const Tensor& in, Tensor& out) {
return internal::unary_ufunc_realh(std::ceil, ctx, in, out);
}
} // namespace native
} // namespace executor
} // namespace torch