root/test/error/unbounded_input.cpp

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

DEFINITIONS

This source file includes following definitions.
  1. main

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

using namespace Halide;

int main(int argc, char **argv) {
    Func f;
    Var x, y;

    ImageParam in(Float(32), 2);
    ImageParam x_coord(Int(32), 2);
    ImageParam y_coord(Int(32), 2);

    f(x, y) = in(x_coord(x, y), y_coord(x, y));

    f.compile_jit();

    printf("I should not have reached here\n");

    return 0;
}

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