Loading...
Searching...
No Matches
HalidePlugin.h
Go to the documentation of this file.
#ifndef HALIDE_HALIDEPLUGIN_H
#define HALIDE_HALIDEPLUGIN_H
#define HALIDE_KEEP_MACROS
#include "Halide.h"
#define REGISTER_AUTOSCHEDULER(NAME) \
struct HALIDE_EXPORT Register##NAME { \
Register##NAME() { \
debug(1) << "Registering autoscheduler '" #NAME "'...\n"; \
Pipeline::add_autoscheduler(#NAME, NAME()); \
} \
} register_##NAME;
#endif // HALIDE_HALIDEPLUGIN_H