root/test/generator/image_from_array_generator.cpp

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

DEFINITIONS

This source file includes following definitions.
  1. build

#include "Halide.h"

namespace {

class ImageFromArray : public Halide::Generator<ImageFromArray> {
public:
   Func build() {
        // Currently the test just exercises halide_image.h.
        Var x;
        Func f;
        f(x) = x;
        return f;
    }
};

Halide::RegisterGenerator<ImageFromArray> register_my_gen{"image_from_array"};

}  // namespace

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