Home
last modified time | relevance | path

Searched refs:platform_name (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_client.h45 absl::string_view platform_name, int host_id = 0)
49 platform_name_(platform_name) {} in id_()
72 const std::string& platform_name() const { return platform_name_; } in platform_name() function
121 const std::string& platform_name, const std::string& xla_platform_name,
126 std::string platform_name, LocalClient* client,
147 const std::string& platform_name() const { return platform_name_; } in platform_name() function
227 const std::string& platform_name() const { return client_->platform_name(); } in platform_name() function
Dlocal_client.cc167 const std::string& platform_name, int id, in MakeDevice() argument
169 if (platform_name == "cpu") { in MakeDevice()
171 platform_name); in MakeDevice()
173 CHECK_EQ(platform_name, "gpu"); in MakeDevice()
175 platform_name); in MakeDevice()
180 const std::string& platform_name, const std::string& xla_platform_name, in Get() argument
186 platform_name, xla_platform_name); in Get()
193 bool gpu_platform = platform_name == "gpu"; in Get()
195 bool synchronous_deallocation = platform_name == "cpu"; in Get()
202 devices.push_back(MakeDevice(platform_name, i, std::move(device_state))); in Get()
[all …]
Dxla.cc182 if (buffer.device()->platform_name() != "cpu") { in PyLocalBufferGetBuffer()
493 .def_property_readonly("platform", &Device::platform_name) in PYBIND11_MODULE()
617 device->DebugString(), client->platform_name()); in PYBIND11_MODULE()
648 device->DebugString(), client->platform_name()); in PYBIND11_MODULE()
694 .def("platform", &PyLocalBuffer::platform_name) in PYBIND11_MODULE()
/external/skqp/src/compute/common/cl/
Dfind_cl.c65 char * const platform_name = ALLOCA_MACRO(platform_name_size); in clFindIdsByName() local
70 platform_name, in clFindIdsByName()
74 if (!match_platform && (strstr(platform_name,target_platform_substring) != NULL)) in clFindIdsByName()
81 fprintf(stdout,"%2u: %s\n",ii,platform_name); in clFindIdsByName()
/external/tensorflow/tensorflow/compiler/xla/service/
Dplatform_util.cc48 string CanonicalPlatformName(const string& platform_name) { in CanonicalPlatformName() argument
49 string lowercase_platform_name = absl::AsciiStrToLower(platform_name); in CanonicalPlatformName()
120 const string& platform_name) { in GetPlatform() argument
123 CanonicalPlatformName(platform_name))); in GetPlatform()
Dplatform_util.h49 static StatusOr<se::Platform*> GetPlatform(const string& platform_name);
/external/mesa3d/bin/
Dsymbols-check.py30 platform_name = platform.system()
38 if platform_name == 'Linux':
41 elif platform_name == 'Darwin':
/external/adhd/init/
Dcras.sh13 platform_name="$(mosys platform name)"
14 if [ "$platform_name" = "Gale" ]; then
/external/autotest/server/cros/faft/utils/
Dconfig_unittest.py178 platform_name, ext = os.path.splitext(filename)
179 if ext != '.json' or platform_name == 'DEFAULTS':
186 self.assertEqual(platform_name, d['platform'],
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dtpu_client.h65 explicit PyTpuClient(std::string platform_name,
92 const std::string& platform_name() const { return platform_name_; } in platform_name() function
183 const std::string& platform_name() const { return client_->platform_name(); } in platform_name() function
Dtpu_client_extension.cc103 device->DebugString(), client->platform_name()); in PYBIND11_MODULE()
133 device->DebugString(), client->platform_name()); in PYBIND11_MODULE()
170 .def("platform", &PyTpuBuffer::platform_name) in PYBIND11_MODULE()
Dtpu_client.cc90 PyTpuClient::PyTpuClient(std::string platform_name, in PyTpuClient() argument
94 : platform_name_(std::move(platform_name)), in PyTpuClient()
749 if (device_assignment[0][0]->platform_name() != in CompileForDevices()
750 device_assignment[replica][partition]->platform_name()) { in CompileForDevices()
755 device_assignment[0][0]->platform_name(), in CompileForDevices()
756 device_assignment[replica][partition]->platform_name(), replica, in CompileForDevices()
/external/tensorflow/tensorflow/stream_executor/
Dplugin_registry.cc113 string platform_name = "<unregistered platform>"; in SetDefaultFactory() local
115 platform_name = status.ValueOrDie()->Name(); in SetDefaultFactory()
120 << "Platform name: " << platform_name in SetDefaultFactory()
/external/ImageMagick/MagickCore/
Dopencl.c122 *platform_name, member
175 if ((LocaleCompare(a->platform_name,b->platform_name) == 0) && in IsSameOpenCLDevice()
189 if ((LocaleCompare(a->platform_name,b->platform_name) == 0) && in IsBenchmarkedOpenCLDevice()
842 device_benchmark->platform_name=RelinquishMagickMemory( in LoadOpenCLDeviceBenchmark()
843 device_benchmark->platform_name); in LoadOpenCLDeviceBenchmark()
886 device_benchmark->platform_name=ConstantString(token); in LoadOpenCLDeviceBenchmark()
1181 device->platform_name,device->vendor_name,device->name,device->version, in CacheOpenCLBenchmarks()
2207 device_signature^=StringSignature(device->platform_name); in HasOpenCLDevices()
2373 device->platform_name=AcquireCriticalMemory(length* in LoadOpenCLDevices()
2374 sizeof(*device->platform_name)); in LoadOpenCLDevices()
[all …]
Dopencl-private.h299 *platform_name,
/external/tensorflow/tensorflow/compiler/xla/tests/
Dllvm_compiler_test.cc93 explicit LLVMCompilerTest(string platform_name) in LLVMCompilerTest() argument
94 : platform_name_(std::move(platform_name)) {} in LLVMCompilerTest()
/external/python/cpython3/Lib/test/
Dtest_baseexception.py50 platform_name = exc_name[paren_index+1:-1]
52 if platform_system() != platform_name:
/external/python/cpython2/Lib/test/
Dtest_pep352.py64 platform_name = exc_name[paren_index+1:-1]
66 if platform_system() != platform_name:
/external/libyuv/files/tools_libyuv/valgrind/
Dvalgrind_test.py510 platform_name = common.PlatformNames()[0]
512 platform_name = sys.platform + "(Unknown)"
514 platform_name)
/external/libcxx/utils/libcxx/test/
Dtarget_info.py204 def platform_name(self): member in LinuxLocalTI
221 name = self.platform_name()
/external/arm-trusted-firmware/docs/process/
Dcoding-guidelines.rst61 and which are located under the ``plat/<platform_name>`` directory within TF,