#include <client_library.h>
◆ 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.
The documentation for this class was generated from the following files: