Revision 00ae979a5037dbfaa339afb0510353daa27c87fc authored by Steven Johnson on 20 October 2020, 16:16:20 UTC, committed by Steven Johnson on 20 October 2020, 16:16:20 UTC
bad_schedule.cpp
#include "Halide.h"
#include <stdio.h>
using namespace Halide;
int main(int argc, char **argv) {
Func f, g;
Var x, y;
f(x) = x;
g(x) = f(x);
// f is inlined, so this schedule is bad.
f.vectorize(x, 4);
g.realize(10);
printf("Success!\n");
return 0;
}
Computing file changes ...