Halide 18.0.0
Halide compiler and libraries
|
CompileTimeErrorReporter is used at compile time (not runtime) when an error or warning is generated by Halide. More...
#include <Error.h>
Public Member Functions | |
virtual | ~CompileTimeErrorReporter ()=default |
virtual void | warning (const char *msg)=0 |
virtual void | error (const char *msg)=0 |
CompileTimeErrorReporter is used at compile time (not runtime) when an error or warning is generated by Halide.
Note that error() is called a fatal error has occurred, and returning to Halide may cause a crash; implementations of CompileTimeErrorReporter::error() should never return. (Implementations of CompileTimeErrorReporter::warning() may return but may also abort(), exit(), etc.)
|
virtualdefault |