Go to the documentation of this file. 1 #ifndef HALIDE_RANDOM_H
2 #define HALIDE_RANDOM_H
29 Expr
lower_random(
const Expr &e,
const std::vector<VarOrRVar> &free_vars,
int tag);
Expr random_int(const std::vector< Expr > &)
Return a random unsigned integer between zero and 2^32-1 that varies deterministically based on the i...
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
Expr lower_random(const Expr &e, const std::vector< VarOrRVar > &free_vars, int tag)
Convert calls to random() to IR generated by random_float and random_int.
Expr random_float(const std::vector< Expr > &)
Return a random floating-point number between zero and one that varies deterministically based on the...