Home
last modified time | relevance | path

Searched refs:HostPlatform (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/host/
Dhost_platform.cc32 HostPlatform::HostPlatform() : name_("Host") {} in HostPlatform() function in stream_executor::host::HostPlatform
34 HostPlatform::~HostPlatform() {} in ~HostPlatform()
36 Platform::Id HostPlatform::id() const { return kHostPlatformId; } in id()
38 int HostPlatform::VisibleDeviceCount() const { in VisibleDeviceCount()
42 const std::string& HostPlatform::Name() const { return name_; } in Name()
45 HostPlatform::DescriptionForDevice(int ordinal) const { in DescriptionForDevice()
49 port::StatusOr<StreamExecutor*> HostPlatform::ExecutorForDevice(int ordinal) { in ExecutorForDevice()
57 port::StatusOr<StreamExecutor*> HostPlatform::ExecutorForDeviceWithPluginConfig( in ExecutorForDeviceWithPluginConfig()
66 port::StatusOr<StreamExecutor*> HostPlatform::GetExecutor( in GetExecutor()
73 HostPlatform::GetUncachedExecutor(const StreamExecutorConfig& config) { in GetUncachedExecutor()
[all …]
Dhost_platform.h40 class HostPlatform : public Platform {
42 HostPlatform();
43 ~HostPlatform() override;
79 SE_DISALLOW_COPY_AND_ASSIGN(HostPlatform);