https://github.com/halide/Halide
Raw File
Tip revision: 601c778db92000eb42f878d03a01eb6f54d1dd6d authored by Andrew Adams on 13 July 2023, 16:14:54 UTC
Merge remote-tracking branch 'origin/main' into abadams/random_pipelines
Tip revision: 601c778
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