https://github.com/halide/Halide
Raw File
Tip revision: f410b1ad92c11112007d13cdc8709486e6a7e803 authored by Steven Johnson on 26 April 2022, 00:54:38 UTC
Augment Halide::Func to allow for constraining Type and Dimensionality
Tip revision: f410b1a
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