Home | History | Annotate | Download | only in stream_executor

Lines Matching refs:port

26 /* static */ port::Status MultiPlatformManager::RegisterPlatform(
29 string key = port::Lowercase(platform->Name());
32 return port::Status(port::error::INTERNAL,
43 return port::Status::OK();
46 /* static */ port::StatusOr<Platform*> MultiPlatformManager::PlatformWithName(
49 auto it = GetPlatformMap()->find(port::Lowercase(target));
52 return port::Status(
53 port::error::NOT_FOUND,
60 /* static */ port::StatusOr<Platform*> MultiPlatformManager::PlatformWithId(
65 return port::Status(
66 port::error::NOT_FOUND,
67 port::Printf("could not find registered platform with id: 0x%p", id));