Revision c6ed99a90b00988be5404c0d2ed69e23932a9473 authored by aekul on 30 July 2021, 01:02:12 UTC, committed by aekul on 30 July 2021, 02:15:36 UTC
1 parent 31f7e8b
hidden_pure_definition.cpp
#include "Halide.h"
#include <stdio.h>
using namespace Halide;
int main(int argc, char **argv) {
Func f;
Var x;
f(x) = x;
// Hide the previous definition.
f(x) = 2;
return 0;
}
Computing file changes ...