/external/tensorflow/tensorflow/compiler/xla/python/ |
D | local_client.h | 45 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
|
D | local_client.cc | 167 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 …]
|
D | xla.cc | 182 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/ |
D | find_cl.c | 65 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/ |
D | platform_util.cc | 48 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()
|
D | platform_util.h | 49 static StatusOr<se::Platform*> GetPlatform(const string& platform_name);
|
/external/mesa3d/bin/ |
D | symbols-check.py | 30 platform_name = platform.system() 38 if platform_name == 'Linux': 41 elif platform_name == 'Darwin':
|
/external/adhd/init/ |
D | cras.sh | 13 platform_name="$(mosys platform name)" 14 if [ "$platform_name" = "Gale" ]; then
|
/external/autotest/server/cros/faft/utils/ |
D | config_unittest.py | 178 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/ |
D | tpu_client.h | 65 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
|
D | tpu_client_extension.cc | 103 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()
|
D | tpu_client.cc | 90 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/ |
D | plugin_registry.cc | 113 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/ |
D | opencl.c | 122 *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 …]
|
D | opencl-private.h | 299 *platform_name,
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | llvm_compiler_test.cc | 93 explicit LLVMCompilerTest(string platform_name) in LLVMCompilerTest() argument 94 : platform_name_(std::move(platform_name)) {} in LLVMCompilerTest()
|
/external/python/cpython3/Lib/test/ |
D | test_baseexception.py | 50 platform_name = exc_name[paren_index+1:-1] 52 if platform_system() != platform_name:
|
/external/python/cpython2/Lib/test/ |
D | test_pep352.py | 64 platform_name = exc_name[paren_index+1:-1] 66 if platform_system() != platform_name:
|
/external/libyuv/files/tools_libyuv/valgrind/ |
D | valgrind_test.py | 510 platform_name = common.PlatformNames()[0] 512 platform_name = sys.platform + "(Unknown)" 514 platform_name)
|
/external/libcxx/utils/libcxx/test/ |
D | target_info.py | 204 def platform_name(self): member in LinuxLocalTI 221 name = self.platform_name()
|
/external/arm-trusted-firmware/docs/process/ |
D | coding-guidelines.rst | 61 and which are located under the ``plat/<platform_name>`` directory within TF,
|