Home
last modified time | relevance | path

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

12345678910>>...43

/external/tensorflow/tensorflow/stream_executor/
Dmulti_platform_manager.cc33 port::Status RegisterPlatform(std::unique_ptr<Platform> platform)
36 port::StatusOr<Platform*> PlatformWithName(absl::string_view target)
39 port::StatusOr<Platform*> PlatformWithId(const Platform::Id& id)
42 port::StatusOr<Platform*> PlatformWithName(absl::string_view target,
46 port::StatusOr<Platform*> PlatformWithId(const Platform::Id& id,
50 port::StatusOr<Platform*> InitializePlatformWithName(
53 port::StatusOr<Platform*> InitializePlatformWithId(
54 const Platform::Id& id, const std::map<std::string, std::string>& options)
57 port::StatusOr<std::vector<Platform*>> PlatformsWithFilter(
58 const std::function<bool(const Platform*)>& filter,
[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);
105 static port::StatusOr<Platform*> PlatformWithName(absl::string_view target,
107 static port::StatusOr<Platform*> PlatformWithId(const Platform::Id& id,
120 static port::StatusOr<Platform*> InitializePlatformWithName(
124 static port::StatusOr<Platform*> InitializePlatformWithId(
125 const Platform::Id& id,
130 static port::StatusOr<std::vector<Platform*>> PlatformsWithFilter(
131 const std::function<bool(const Platform*)>& filter);
[all …]
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()
/external/llvm-project/parallel-libs/acxxel/tests/
Dacxxel_test.cpp24 using PlatformGetter = acxxel::Expected<acxxel::Platform *> (*)();
28 acxxel::Platform *Platform = GetParam()().takeValue(); in TEST_P() local
29 int DeviceCount = Platform->getDeviceCount().getValue(); in TEST_P()
139 acxxel::Platform *Platform = GetParam()().takeValue(); in TEST_P() local
141 Platform->mallocD<int>(10); in TEST_P()
168 acxxel::Platform *Platform = GetParam()().takeValue(); in TEST_P() local
169 acxxel::Stream Stream = Platform->createStream().takeValue(); in TEST_P()
173 Platform->mallocD<int>(arraySize(A)).takeValue(); in TEST_P()
182 acxxel::Platform *Platform = GetParam()().takeValue(); in TEST_P() local
183 acxxel::Stream Stream = Platform->createStream().takeValue(); in TEST_P()
[all …]
Dmulti_device_test.cpp7 using PlatformGetter = acxxel::Expected<acxxel::Platform *> (*)();
11 acxxel::Platform *Platform = GetParam()().takeValue(); in TEST_P() local
12 int DeviceCount = Platform->getDeviceCount().getValue(); in TEST_P()
27 auto AsyncA = Platform->registerHostMem(ASpan).takeValue(); in TEST_P()
28 auto AsyncB0 = Platform->registerHostMem(B0Span).takeValue(); in TEST_P()
29 auto AsyncB1 = Platform->registerHostMem(B1Span).takeValue(); in TEST_P()
31 acxxel::Stream Stream0 = Platform->createStream(0).takeValue(); in TEST_P()
32 acxxel::Stream Stream1 = Platform->createStream(1).takeValue(); in TEST_P()
33 auto Device0 = Platform->mallocD<int>(Length, 0).takeValue(); in TEST_P()
34 auto Device1 = Platform->mallocD<int>(Length, 1).takeValue(); in TEST_P()
[all …]
/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/platform/nullws/
DtcuNullWSPlatform.hpp62 class Platform: public tcu::Platform, private glu::Platform, private eglu::Platform, private vk::Pl… class
65 Platform ();
66 virtual ~Platform ();
68 …virtual const glu::Platform& getGLPlatform () const { return static_cast<const glu::Platform&>(*th… in getGLPlatform()
69 …virtual const eglu::Platform& getEGLPlatform () const { return static_cast<const eglu::Platform&>(… in getEGLPlatform()
70 …virtual const vk::Platform& getVulkanPlatform() const { return static_cast<const vk::Platform&>(… 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/angle/src/libANGLE/
DCLPlatform.h20 class Platform final : public _cl_platform_id, public Object
28 static Platform *GetDefault();
29 static Platform *CastOrDefault(cl_platform_id platform);
59 ~Platform() override;
74 explicit Platform(const rx::CLPlatformImpl::CreateFunc &createFunc);
88 inline Platform *Platform::GetDefault() in GetDefault()
93 inline Platform *Platform::CastOrDefault(cl_platform_id platform) in CastOrDefault()
95 return platform != nullptr ? &platform->cast<Platform>() : GetDefault(); in CastOrDefault()
100 inline bool Platform::IsValidOrDefault(const _cl_platform_id *platform) in IsValidOrDefault()
105 inline const rx::CLPlatformImpl::Info &Platform::getInfo() const in getInfo()
[all …]
DCLPlatform.cpp30 Platform *&platform, in ParseContextProperties()
42 platform = &reinterpret_cast<cl_platform_id>(*propIt++)->cast<Platform>(); in ParseContextProperties()
56 platform = Platform::GetDefault(); in ParseContextProperties()
63 void Platform::Initialize(const cl_icd_dispatch &dispatch, in Initialize()
78 platforms.emplace_back(new Platform(createFuncs.front())); in Initialize()
89 cl_int Platform::GetPlatformIDs(cl_uint numEntries, in GetPlatformIDs()
110 cl_int Platform::getInfo(PlatformInfo name, in getInfo()
182 cl_int Platform::getDeviceIDs(DeviceType deviceType, in getDeviceIDs()
213 cl_context Platform::CreateContext(const cl_context_properties *properties, in CreateContext()
220 Platform *platform = nullptr; in CreateContext()
[all …]
/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
80 Platform::~Platform (void) in ~Platform()
84 bool Platform::processEvents (void) in processEvents()
100 tcu::Platform* createPlatform (void) in createPlatform()
102 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/MachO/
DTarget.h27 Target(Architecture Arch, PlatformKind Platform) in Target() argument
28 : Arch(Arch), Platform(Platform) {} in Target()
30 : Arch(mapToArchitecture(Triple)), Platform(mapToPlatformKind(Triple)) {} in Target()
37 PlatformKind Platform; variable
41 return std::tie(LHS.Arch, LHS.Platform) == std::tie(RHS.Arch, RHS.Platform);
45 return std::tie(LHS.Arch, LHS.Platform) != std::tie(RHS.Arch, RHS.Platform);
49 return std::tie(LHS.Arch, LHS.Platform) < std::tie(RHS.Arch, RHS.Platform);
/external/llvm-project/llvm/include/llvm/TextAPI/MachO/
DTarget.h27 Target(Architecture Arch, PlatformKind Platform) in Target() argument
28 : Arch(Arch), Platform(Platform) {} in Target()
30 : Arch(mapToArchitecture(Triple)), Platform(mapToPlatformKind(Triple)) {} in Target()
37 PlatformKind Platform; variable
41 return std::tie(LHS.Arch, LHS.Platform) == std::tie(RHS.Arch, RHS.Platform);
45 return std::tie(LHS.Arch, LHS.Platform) != std::tie(RHS.Arch, RHS.Platform);
49 return std::tie(LHS.Arch, LHS.Platform) < std::tie(RHS.Arch, RHS.Platform);
/external/libbrillo/brillo/namespaces/
Dplatform.cc25 Platform::Platform() {} in Platform() function in brillo::Platform
27 Platform::~Platform() {} in ~Platform()
29 bool Platform::FileSystemIsNsfs(const FilePath& ns_path) { in FileSystemIsNsfs()
41 bool Platform::Unmount(const FilePath& path, bool lazy, bool* was_busy) { in Unmount()
58 int Platform::Mount(const std::string& source, in Mount()
67 pid_t Platform::Fork() { in Fork()
71 pid_t Platform::Waitpid(pid_t pid, int* status) { in Waitpid()
/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/llvm-project/lldb/source/Target/
DPlatform.cpp60 const char *Platform::GetHostPlatformName() { return "host"; } in GetHostPlatformName()
135 PlatformSP Platform::GetHostPlatform() { return GetHostPlatformSP(); } in GetHostPlatform()
147 void Platform::Initialize() { g_initialize_count++; } in Initialize()
149 void Platform::Terminate() { in Terminate()
158 const PlatformPropertiesSP &Platform::GetGlobalPlatformProperties() { in GetGlobalPlatformProperties()
163 void Platform::SetHostPlatform(const lldb::PlatformSP &platform_sp) { in SetHostPlatform()
174 Status Platform::GetFileWithUUID(const FileSpec &platform_file, in GetFileWithUUID()
182 Platform::LocateExecutableScriptingResources(Target *target, Module &module, in LocateExecutableScriptingResources()
221 Status Platform::GetSharedModule( in GetSharedModule()
262 bool Platform::GetModuleSpec(const FileSpec &module_file_spec, in GetModuleSpec()
[all …]
/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/angle/src/tests/deqp_support/
DtcuANGLEPlatform.h38 class ANGLEPlatform : public tcu::Platform, private glu::Platform, private eglu::Platform
46 const glu::Platform &getGLPlatform() const override in getGLPlatform()
48 return static_cast<const glu::Platform &>(*this); in getGLPlatform()
50 const eglu::Platform &getEGLPlatform() const override in getEGLPlatform()
52 return static_cast<const eglu::Platform &>(*this); in getEGLPlatform()
/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 …]

12345678910>>...43