Home
last modified time | relevance | path

Searched refs:Platform (Results 1 – 25 of 703) sorted by relevance

12345678910>>...29

/external/tensorflow/tensorflow/stream_executor/
Dmulti_platform_manager.cc32 port::Status RegisterPlatform(std::unique_ptr<Platform> platform)
35 port::StatusOr<Platform*> PlatformWithName(absl::string_view target)
38 port::StatusOr<Platform*> PlatformWithId(const Platform::Id& id)
41 port::StatusOr<Platform*> InitializePlatformWithName(
44 port::StatusOr<Platform*> InitializePlatformWithId(
45 const Platform::Id& id, const std::map<string, string>& options)
48 std::vector<Platform*> AllPlatforms() LOCKS_EXCLUDED(mu_);
57 port::StatusOr<Platform*> LookupByNameLocked(absl::string_view target)
62 port::StatusOr<Platform*> LookupByIdLocked(const Platform::Id& id)
67 absl::flat_hash_map<Platform::Id, Platform*> id_map_ GUARDED_BY(mu_);
[all …]
Dmulti_platform_manager.h88 static port::Status RegisterPlatform(std::unique_ptr<Platform> platform);
100 static port::StatusOr<Platform*> PlatformWithName(absl::string_view target);
101 static port::StatusOr<Platform*> PlatformWithId(const Platform::Id& id);
113 static port::StatusOr<Platform*> InitializePlatformWithName(
116 static port::StatusOr<Platform*> InitializePlatformWithId(
117 const Platform::Id& id, const std::map<string, string>& options);
119 static std::vector<Platform*> AllPlatforms();
139 virtual void PlatformRegistered(Platform* platform) = 0;
Dplatform.cc89 Platform::~Platform() {} in ~Platform()
91 bool Platform::Initialized() const { return true; } in Initialized()
93 port::Status Platform::Initialize( in Initialize()
102 port::Status Platform::ForceExecutorShutdown() { in ForceExecutorShutdown()
107 std::unique_ptr<Platform::PeerAccessMap> Platform::GetPeerAccessMap() { in GetPeerAccessMap()
119 return std::unique_ptr<Platform::PeerAccessMap>{map}; in GetPeerAccessMap()
122 port::Status Platform::EnablePeerAccess() { in EnablePeerAccess()
Dplugin_registry.h65 port::Status RegisterFactory(Platform::Id platform_id, PluginId plugin_id,
78 Platform::Id platform_id);
84 bool SetDefaultFactory(Platform::Id platform_id, PluginKind plugin_kind,
89 bool HasFactory(Platform::Id platform_id, PluginKind plugin_kind,
95 port::StatusOr<FactoryT> GetFactory(Platform::Id platform_id,
147 std::map<PlatformKind, Platform::Id> platform_id_by_kind_;
150 std::map<Platform::Id, PluginFactories> factories_;
156 std::map<Platform::Id, DefaultFactories> default_factories_;
/external/deqp/framework/platform/null/
DtcuNullPlatform.hpp37 class Platform : public tcu::Platform, private glu::Platform, private eglu::Platform, private vk::P… class
40 Platform (void);
41 virtual ~Platform (void);
43 …virtual const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&… in getGLPlatform()
44 …virtual const eglu::Platform& getEGLPlatform (void) const { return static_cast<const eglu::Platfo… in getEGLPlatform()
45 …virtual const vk::Platform& getVulkanPlatform (void) const { return static_cast<const vk::Platfor… in getVulkanPlatform()
DtcuNullPlatform.cpp74 Platform::Platform (void) in Platform() function in tcu::null::Platform
80 Platform::~Platform (void) in ~Platform()
84 vk::Library* Platform::createLibrary (void) const in createLibrary()
89 void Platform::getMemoryLimits (vk::PlatformMemoryLimits& limits) const in getMemoryLimits()
102 tcu::Platform* createPlatform (void) in createPlatform()
104 return new tcu::null::Platform(); in createPlatform()
/external/deqp/framework/platform/android/
DtcuAndroidPlatform.hpp39 class Platform : public tcu::Platform, private eglu::Platform, private glu::Platform, private vk::P… class
42 Platform (NativeActivity& activity);
43 virtual ~Platform (void);
47 …virtual const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&… in getGLPlatform()
48 …virtual const eglu::Platform& getEGLPlatform (void) const { return static_cast<const eglu::Platfo… in getEGLPlatform()
49 …virtual const vk::Platform& getVulkanPlatform (void) const { return static_cast<const vk::Platfor… in getVulkanPlatform()
/external/deqp/framework/common/
DtcuPlatform.cpp29 Platform::Platform (void) in Platform() function in tcu::Platform
33 Platform::~Platform (void) in ~Platform()
37 bool Platform::processEvents (void) in processEvents()
42 const glu::Platform& Platform::getGLPlatform (void) const in getGLPlatform()
47 const eglu::Platform& Platform::getEGLPlatform (void) const in getEGLPlatform()
52 const vk::Platform& Platform::getVulkanPlatform (void) const in getVulkanPlatform()
DtcuPlatform.hpp30 class Platform;
35 class Platform;
40 class Platform;
67 class Platform class
70 Platform (void);
71 virtual ~Platform (void);
100 virtual const glu::Platform& getGLPlatform (void) const;
112 virtual const eglu::Platform& getEGLPlatform (void) const;
114 virtual const vk::Platform& getVulkanPlatform (void) const;
/external/deqp/framework/platform/win32/
DtcuWin32Platform.hpp38 class Platform : public tcu::Platform, private glu::Platform, private eglu::Platform class
41 Platform (void);
42 ~Platform (void);
46 …const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&>(*this… in getGLPlatform()
48 …const eglu::Platform& getEGLPlatform (void) const { return static_cast<const eglu::Platform&>(*t… in getEGLPlatform()
50 const vk::Platform& getVulkanPlatform (void) const { return m_vulkanPlatform; } in getVulkanPlatform()
DtcuWin32Platform.cpp34 Platform::Platform (void) in Platform() function in tcu::win32::Platform
71 Platform::~Platform (void) in ~Platform()
75 bool Platform::processEvents (void) in processEvents()
91 tcu::Platform* createPlatform (void) in createPlatform()
93 return new tcu::win32::Platform(); in createPlatform()
/external/deqp/framework/platform/raspi/
DtcuRaspiPlatform.hpp38 class Platform : public tcu::Platform, private eglu::Platform, private glu::Platform class
41 Platform (void);
42 virtual ~Platform (void);
44 …virtual const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&… in getGLPlatform()
45 …virtual const eglu::Platform& getEGLPlatform (void) const { return static_cast<const eglu::Platfo… in getEGLPlatform()
/external/deqp/framework/platform/nullws/
DtcuNullWSPlatform.hpp37 class Platform: public tcu::Platform, private glu::Platform, private eglu::Platform class
40 Platform ();
41 virtual ~Platform ();
43 …virtual const glu::Platform& getGLPlatform () const { return static_cast<const glu::Platform&>(*th… in getGLPlatform()
44 …virtual const eglu::Platform& getEGLPlatform () const { return static_cast<const eglu::Platform&>(… in getEGLPlatform()
/external/tensorflow/tensorflow/compiler/xla/service/
Dplatform_util.cc60 /* static */ StatusOr<std::vector<se::Platform*>>
62 std::vector<se::Platform*> all_platforms = in GetSupportedPlatforms()
69 std::vector<se::Platform*> platforms; in GetSupportedPlatforms()
70 for (se::Platform* platform : all_platforms) { in GetSupportedPlatforms()
86 /* static */ StatusOr<se::Platform*> PlatformUtil::GetSolePlatform() { in GetSolePlatform()
91 se::Platform* platform = platforms[0]; in GetSolePlatform()
101 [](string* out, const se::Platform* p) { out->append(p->Name()); }); in GetSolePlatform()
107 /* static */ StatusOr<se::Platform*> PlatformUtil::GetDefaultPlatform() { in GetDefaultPlatform()
110 se::Platform* platform = nullptr; in GetDefaultPlatform()
134 [](string* out, const se::Platform* p) { out->append(p->Name()); }); in GetDefaultPlatform()
[all …]
Dplatform_util.h38 static StatusOr<std::vector<se::Platform*>> GetSupportedPlatforms();
45 static StatusOr<se::Platform*> GetDefaultPlatform();
50 static StatusOr<se::Platform*> GetSolePlatform();
54 static StatusOr<se::Platform*> GetPlatform(const string& platform_name);
58 static StatusOr<se::Platform*> GetPlatformExceptFor(
70 se::Platform* platform,
/external/mockito/src/test/java/org/mockito/internal/util/
DPlatformTest.java33 System.out.println(Platform.describe()); in const_are_initialized_from_system_properties()
35 assertThat(Platform.JVM_VERSION).isEqualTo(System.getProperty("java.runtime.version")); in const_are_initialized_from_system_properties()
36 assertThat(Platform.JVM_INFO).isEqualTo(System.getProperty("java.vm.info")); in const_are_initialized_from_system_properties()
37 assertThat(Platform.JVM_NAME).isEqualTo(System.getProperty("java.vm.name")); in const_are_initialized_from_system_properties()
38 assertThat(Platform.JVM_VENDOR).isEqualTo(System.getProperty("java.vm.vendor")); in const_are_initialized_from_system_properties()
39 assertThat(Platform.JVM_VENDOR_VERSION).isEqualTo(System.getProperty("java.vm.version")); in const_are_initialized_from_system_properties()
44 assertThat(Platform.warnForVM("Java HotSpot(TM) 64-Bit Server VM", in should_warn_for_jvm()
48 assertThat(Platform.warnForVM("IBM J9 VM", in should_warn_for_jvm()
52 assertThat(Platform.warnForVM("whatever", in should_warn_for_jvm()
135 … assertThat(Platform.isJava8BelowUpdate45(version.getKey())).describedAs(version.getKey()) in assertPlatformParsesCorrectlyVariousVersionScheme()
/external/tensorflow/tensorflow/compiler/xla/client/
Dclient_library.h49 se::Platform* platform = nullptr, int number_of_replicas = 1,
54 LocalClientOptions& set_platform(se::Platform* platform);
55 se::Platform* platform() const;
73 se::Platform* platform_;
89 se::Platform* platform = nullptr,
100 static LocalService* GetXlaService(se::Platform* platform);
107 se::Platform* platform = nullptr);
136 std::unordered_map<se::Platform::Id, std::unique_ptr<LocalInstance>>
139 std::unordered_map<se::Platform::Id, std::unique_ptr<CompileOnlyInstance>>
/external/deqp/framework/platform/lnx/
DtcuLnxPlatform.cpp49 class LinuxGLPlatform : public glu::Platform
58 class LinuxPlatform : public tcu::Platform
64 const vk::Platform& getVulkanPlatform (void) const { return m_vkPlatform; } in getVulkanPlatform()
65 const eglu::Platform& getEGLPlatform (void) const { return m_eglPlatform; } in getEGLPlatform()
66 const glu::Platform& getGLPlatform (void) const { return m_glPlatform; } in getGLPlatform()
71 egl::Platform m_eglPlatform;
89 tcu::Platform* createPlatform (void) in createPlatform()
/external/compiler-rt/make/
DAppleBI.mk51 $(call GetCNAVar,STRIP,Platform.darwin_bni,Release,) -S $(SYMROOT)/libcompiler_rt.dylib \
60 $(call GetCNAVar,CC,Platform.darwin_bni,Release,$*) \
77 $(call GetCNAVar,LIPO,Platform.darwin_bni,Release,) -create $^ -o $@
78 $(call GetCNAVar,DSYMUTIL,Platform.darwin_bni,Release,) $@
92 $(call GetCNAVar,STRIP,Platform.darwin_bni,Release,) -S $(SYMROOT)/libcompiler_rt.dylib \
98 $(call GetCNAVar,LIPO,Platform.darwin_bni,Release,) -create $^ -o $@
106 $(call GetCNAVar,AR,Platform.darwin_bni,Release,) -d $@ $${DEL_LIST}; \
107 $(call GetCNAVar,RANLIB,Platform.darwin_bni,Release,) $@ ; \
113 $(call GetCNAVar,LIPO,Platform.darwin_bni,Release,) -create $^ -o $@
121 $(call GetCNAVar,STRIP,Platform.darwin_bni,Release,) -S $(SYMROOT)/libcompiler_rt_sim.dylib \
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DKeyboardId.java36 private final Platform platform;
39 private KeyboardId(ULocale locale, Platform platform, ImmutableList<String> attributes) { in KeyboardId()
46 … public static KeyboardId of(ULocale locale, Platform platform, ImmutableList<String> attributes) { in of()
61 Platform platform = Platform.fromString(attributeStrings[0]); in fromString()
74 public Platform platform() { in platform()
115 public enum Platform { enum in KeyboardId
125 private Platform(float version, KeyboardSettings settings) { in Platform() method in KeyboardId.Platform
148 private static Platform fromString(String platform) { in fromString()
149 Platform value = Platform.valueOf(platform.toUpperCase()); in fromString()
/external/libusb/msvc/
Dappveyor.bat8 if [%Platform%] NEQ [x64] goto debugWin32
11 msbuild %libusb_2010% /p:Configuration=Debug,Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildA…
14 if [%Platform%] NEQ [x64] goto releaseWin32
17 msbuild %libusb_2010% /p:Configuration=Release,Platform=x64 /logger:"C:\Program Files\AppVeyor\Buil…
20 if [%Platform%] NEQ [Win32] exit 0
22 msbuild %libusb_2010% /p:Configuration=Debug,Platform=Win32 /logger:"C:\Program Files\AppVeyor\Buil…
25 if [%Platform%] NEQ [Win32] exit 0
27 msbuild %libusb_2010% /p:Configuration=Release,Platform=Win32 /logger:"C:\Program Files\AppVeyor\Bu…
/external/okhttp/android/src/test/java/com/squareup/okhttp/internal/
DPlatformTest.java54 Platform platform = new Platform(); in enableTlsExtensionOptionalMethods()
67 assertArrayEquals(Platform.concatLengthPrefixed(protocols), openSslSocket.alpnProtocols); in enableTlsExtensionOptionalMethods()
72 Platform platform = new Platform(); in getSelectedProtocol()
87 Platform platform = new Platform(); in rootTrustIndex_notNull_viaSocketFactory()
96 Platform platform = new Platform(); in rootTrustIndex_notNull()
101 Platform platform = new Platform(); in trustManager()
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.hh74 class Platform : public tcu::Platform, private glu::Platform class
77 Platform (ScreenManager* screenManager);
78 virtual ~Platform (void);
80 …const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&>(*th… in getGLPlatform()
/external/deqp/framework/egl/
DegluPlatform.cpp31 Platform::Platform (void) in Platform() function in eglu::Platform
35 Platform::~Platform (void) in ~Platform()
39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::Co… in createDefaultGLFunctionLibrary()
/external/v8/src/
Dv8.cc39 v8::Platform* V8::platform_ = nullptr;
98 void V8::InitializePlatform(v8::Platform* platform) { in InitializePlatform()
115 v8::Platform* V8::GetCurrentPlatform() { in GetCurrentPlatform()
116 v8::Platform* platform = reinterpret_cast<v8::Platform*>( in GetCurrentPlatform()
122 void V8::SetPlatformForTesting(v8::Platform* platform) { in SetPlatformForTesting()
146 double Platform::SystemClockTimeMillis() { in SystemClockTimeMillis()

12345678910>>...29