tf_1.8_xla_doc
Static Public Member Functions | List of all members
xla::ClientLibrary Class Reference

#include <client_library.h>

Static Public Member Functions

static StatusOr< CompileOnlyClient * > GetOrCreateCompileOnlyClient (perftools::gputools::Platform *platform=nullptr)
 

Detailed Description

ClientLibrary

Member Function Documentation

◆ GetOrCreateCompileOnlyClient()

StatusOr< CompileOnlyClient * > xla::ClientLibrary::GetOrCreateCompileOnlyClient ( perftools::gputools::Platform *  platform = nullptr)
static
  • Check whether the CompileOnlyInstance for given platform has existed.
    • If existed, just return the client from it.
    • Otherwise create a CompileOnlyService for given platform, and initialize a client with it(mark the service is connected by it), then return this client.
Here is the caller graph for this function:

The documentation for this class was generated from the following files: