Revision 22f9bb9247b3e384bbd9d8e7ff96501a29b49265 authored by Steven Johnson on 17 January 2024, 16:26:43 UTC, committed by GitHub on 17 January 2024, 16:26:43 UTC
Tweak correctness_float16_t so that it uses one of the transcendal functions (sqrt) that were missing in Metal.
1 parent 3a77204
Inline.h
#ifndef HALIDE_INLINE_H
#define HALIDE_INLINE_H
/** \file
* Methods for replacing calls to functions with their definitions.
*/
#include "Expr.h"
namespace Halide {
namespace Internal {
class Function;
/** Inline a single named function, which must be pure. For a pure function to
* be inlined, it must not have any specializations (i.e. it can only have one
* values definition). */
// @{
Stmt inline_function(Stmt s, const Function &f);
Expr inline_function(Expr e, const Function &f);
void inline_function(Function caller, const Function &f);
// @}
/** Check if the schedule of an inlined function is legal, throwing an error
* if it is not. */
void validate_schedule_inlined_function(Function f);
} // namespace Internal
} // namespace Halide
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...