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
2 parent s 85f143c + a2934d4
Raw File
vectorized_extern.cpp
#include "Halide.h"
#include <stdio.h>

using namespace Halide;

int main(int argc, char **argv) {
    Func f;
    Var x;
    f.define_extern("test", {}, Int(32), {x});
    Var xo;
    f.split(x, xo, x, 8).vectorize(xo);

    f.compile_jit();

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