tf_1.8_xla_doc
|
#include <compiler.h>
Superclass, inherit by xla::LLVMCompiler
Google Docs:
Abstract compiler interface that is subclassed for compilation on a particular platform.
The compiler ties together high level optimization (HLO) and low level optimization (LLO) / codegen (CG) to generate efficient executables for the target platform.
The platform-based compiler singletons are registered via module initializers in their corresponding XLA compiler libraries, and are registered via the RegisterCompilerFactory API below.
Thread-safety: subclasses of Compiler must be thread-safe, as multiple XLA clients may be requesting compilation concurrently for a given platform.