Revision 799236949867b6a2be0d492137b36a0b67011622 authored by Andrew Adams on 07 December 2021, 16:16:50 UTC, committed by GitHub on 07 December 2021, 16:16:50 UTC
* Add a version of fast_integer_divide that rounds towards zero * clang-format * Fix test condition * Clean up debugging code * Add explanatory comment to performance test * Pacify clang tidy
1 parent fb305fd
ParallelRVar.h
#ifndef HALIDE_PARALLEL_RVAR_H
#define HALIDE_PARALLEL_RVAR_H
/** \file
*
* Method for checking if it's safe to parallelize an update
* definition across a reduction variable.
*/
#include <string>
namespace Halide {
namespace Internal {
class Definition;
/** Returns whether or not Halide can prove that it is safe to
* parallelize an update definition across a specific variable. If
* this returns true, it's definitely safe. If this returns false, it
* may still be safe, but Halide couldn't prove it.
*/
bool can_parallelize_rvar(const std::string &rvar,
const std::string &func,
const Definition &r);
} // namespace Internal
} // namespace Halide
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...