1 #ifndef HALIDE_FUZZ_HELPERS_H_ 2 #define HALIDE_FUZZ_HELPERS_H_ 4 #include "fuzzer/FuzzedDataProvider.h" 11 return vec[fdp.ConsumeIntegralInRange<
size_t>(0, vec.size() - 1)];
15 #endif // HALIDE_FUZZ_HELPERS_H_ T pick_value_in_vector(FuzzedDataProvider &fdp, std::vector< T > &vec)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.