root/test/generator/float16_t_generator.cpp

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

DEFINITIONS

This source file includes following definitions.
  1. build

#include "Halide.h"

class Float16T : public Halide::Generator<Float16T> {
public:
    Func build() {
        // Currently the float16 aot test just exercises the
        // runtime. More interesting code may go here in the future.
        Var x;
        Func f;
        f(x) = x;
        return f;
    }
};

Halide::RegisterGenerator<Float16T> register_float16_t{"float16_t"};

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