root/test/correctness/split_reuse_inner_name_bug.cpp

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

#include <stdio.h>
#include "Halide.h"

using namespace Halide;

int main(int argc, char **argv) {
    Var x("x"), x0, x1, x2, x3;
    Func f("f");

    f(x) = 1;
    f.compute_root().split(x, x0, x, 16).split(x, x, x1, 2).split(x, x2, x, 4).split(x, x, x3, 2);
    f.realize(1024);

    printf("Success!\n");
    return 0;
}

/* [<][>][^][v][top][bottom][index][help] */