Halide
HalidePlugin.h
Go to the documentation of this file.
1 #ifndef HALIDE_HALIDEPLUGIN_H
2 #define HALIDE_HALIDEPLUGIN_H
3 
4 #include "Errors.h"
5 
6 #define REGISTER_AUTOSCHEDULER(NAME) \
7  struct HALIDE_EXPORT Register##NAME { \
8  Register##NAME() { \
9  debug(1) << "Registering autoscheduler '" #NAME "'...\n"; \
10  Pipeline::add_autoscheduler(#NAME, NAME()); \
11  } \
12  } register_##NAME;
13 
14 #endif // HALIDE_HALIDEPLUGIN_H
Errors.h