Revision 1291171110b1ed2cf9b8b8a01cc5a1b12f2a48bc authored by Dan Palermo on 25 May 2021, 17:42:55 UTC, committed by Dan Palermo on 25 May 2021, 17:42:55 UTC
1 parent 83ab565
bad_reorder.cpp
#include "Halide.h"
#include <stdio.h>
using namespace Halide;
int main(int argc, char **argv) {
Var x, y, xi;
Func f;
f(x, y) = x;
f
.split(x, x, xi, 8)
.reorder(x, y, x);
// Oops, probably meant "xi" rather than x in the reorder call
printf("Success!\n");
return 0;
}
Computing file changes ...