MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CompileAheadOfTime

Method CompileAheadOfTime

tensorflow/compiler/xla/service/compiler.cc:46–57  ·  view source on GitHub ↗

Define a default version where metadata is not used.

Source from the content-addressed store, hash-verified

44
45// Define a default version where metadata is not used.
46StatusOr<std::vector<std::unique_ptr<AotCompilationResult>>>
47Compiler::CompileAheadOfTime(
48 std::unique_ptr<HloModuleGroup> module_group,
49 const AotCompilationOptions& options,
50 std::unique_ptr<AotCompilationMetadata>* metadata) {
51 if (metadata != nullptr) {
52 return Unimplemented(
53 "Populating AotCompilationMetadata is not implemented on this "
54 "compiler.");
55 }
56 return CompileAheadOfTime(std::move(module_group), options);
57}
58
59/* static */ std::map<se::Platform::Id, Compiler::CompilerFactory>*
60Compiler::GetPlatformCompilerFactories() {

Callers 3

CompileXlaFunction · 0.45
mainFunction · 0.45

Calls 1

UnimplementedFunction · 0.85

Tested by 2

mainFunction · 0.36