https://github.com/halide/Halide
Raw File
Tip revision: ad09a743e55c7045f6a25fe68b27ce1863c38788 authored by Steven Johnson on 23 August 2023, 18:08:56 UTC
Merge branch 'main' into abadams/makefile_serialization_support
Tip revision: ad09a74
LowerParallelTasks.h
#ifndef HALIDE_LOWER_PARALLEL_TASKS_H
#define HALIDE_LOWER_PARALLEL_TASKS_H

/** \file
 *
 * Support for platform independent lowering of Halide parallel and async mechanisms.
 * May eventually become a lowering pass.
 */

#include "IRVisitor.h"

namespace Halide {
namespace Internal {

Stmt lower_parallel_tasks(const Stmt &s, std::vector<LoweredFunc> &closure_implementations,
                          const std::string &name, const Target &t);

}  // namespace Internal
}  // namespace Halide

#endif  // HALIDE_LOWER_PARALLEL_TASKS_H
back to top