/external/tensorflow/tensorflow/core/common_runtime/ |
D | device_set_test.cc | 52 std::vector<DeviceType> types() const { in types() 78 EXPECT_EQ(50, DeviceSet::DeviceTypeOrder(DeviceType("d1"))); in TEST_F() 79 EXPECT_EQ(51, DeviceSet::DeviceTypeOrder(DeviceType("d2"))); in TEST_F() 80 EXPECT_EQ(49, DeviceSet::DeviceTypeOrder(DeviceType("d3"))); in TEST_F() 82 EXPECT_EQ(std::vector<DeviceType>{}, types()); in TEST_F() 85 EXPECT_EQ(std::vector<DeviceType>{DeviceType("d1")}, types()); in TEST_F() 88 EXPECT_EQ(std::vector<DeviceType>{DeviceType("d1")}, types()); in TEST_F() 92 EXPECT_EQ((std::vector<DeviceType>{DeviceType("d2"), DeviceType("d1")}), in TEST_F() 97 EXPECT_EQ((std::vector<DeviceType>{ in TEST_F() 98 DeviceType("d2"), in TEST_F() [all …]
|
D | device_set.cc | 61 int DeviceSet::DeviceTypeOrder(const DeviceType& d) { in DeviceTypeOrder() 65 static bool DeviceTypeComparator(const DeviceType& a, const DeviceType& b) { in DeviceTypeComparator() 77 std::vector<DeviceType> DeviceSet::PrioritizedDeviceTypeList() const { in PrioritizedDeviceTypeList() 78 std::vector<DeviceType> result; in PrioritizedDeviceTypeList() 142 d, DeviceSet::DeviceTypeOrder(DeviceType(d->device_type()))); in UpdatePrioritizedVectors() 149 std::set<DeviceType> seen; in UpdatePrioritizedVectors() 151 DeviceType t(p.first->device_type()); in UpdatePrioritizedVectors()
|
D | copy_tensor.h | 56 Registration(DeviceType sender_device_type, DeviceType receiver_device_type, in Registration() 67 static Status Register(DeviceType sender_device_type, 68 DeviceType receiver_device_type,
|
D | memory_types.h | 27 Status ValidateMemoryTypes(const DeviceType& device_type, const Graph* g); 38 Status EnsureMemoryTypes(const DeviceType& device_type, 43 Status MemoryTypeForOutput(const DeviceType& device_type, const Graph* g,
|
D | copy_tensor.cc | 34 RegistrationInfo(DeviceType s, DeviceType r, CopyTensor::CopyFunction cf) in RegistrationInfo() 38 DeviceType sender_device_type; 39 DeviceType receiver_device_type; 211 const DeviceType src_device_type( in ViaDMA() 213 const DeviceType dst_device_type( in ViaDMA() 215 const bool non_cpu_src = src_device_type != DeviceType(DEVICE_CPU); in ViaDMA() 216 const bool non_cpu_dst = dst_device_type != DeviceType(DEVICE_CPU); in ViaDMA() 297 Status CopyTensor::Register(DeviceType sender_device_type, in Register() 298 DeviceType receiver_device_type, in Register()
|
D | collective_rma_local.cc | 129 const DeviceType src_device_type( in MemCpyAsync() 131 const DeviceType dst_device_type( in MemCpyAsync() 133 const bool non_cpu_src = src_device_type != DeviceType(DEVICE_CPU); in MemCpyAsync() 134 const bool non_cpu_dst = dst_device_type != DeviceType(DEVICE_CPU); in MemCpyAsync()
|
/external/mesa3d/include/d3dadapter/ |
D | d3dadapter9.h | 42 …HRESULT (WINAPI *CheckDeviceFormat)(ID3DAdapter9 *This, D3DDEVTYPE DeviceType, D3DFORMAT AdapterFo… 43 …HRESULT (WINAPI *CheckDeviceMultiSampleType)(ID3DAdapter9 *This, D3DDEVTYPE DeviceType, D3DFORMAT … 44 …HRESULT (WINAPI *CheckDepthStencilMatch)(ID3DAdapter9 *This, D3DDEVTYPE DeviceType, D3DFORMAT Adap… 45 …HRESULT (WINAPI *CheckDeviceFormatConversion)(ID3DAdapter9 *This, D3DDEVTYPE DeviceType, D3DFORMAT… 46 HRESULT (WINAPI *GetDeviceCaps)(ID3DAdapter9 *This, D3DDEVTYPE DeviceType, D3DCAPS9 *pCaps); 47 …HRESULT (WINAPI *CreateDevice)(ID3DAdapter9 *This, UINT RealAdapter, D3DDEVTYPE DeviceType, HWND h… 48 …HRESULT (WINAPI *CreateDeviceEx)(ID3DAdapter9 *This, UINT RealAdapter, D3DDEVTYPE DeviceType, HWND… 77 …HRESULT WINAPI CheckDeviceFormat(D3DDEVTYPE DeviceType, D3DFORMAT AdapterFormat, DWORD Usage, D3DR… 78 …HRESULT WINAPI CheckDeviceMultiSampleType(D3DDEVTYPE DeviceType, D3DFORMAT SurfaceFormat, BOOL Win… 79 …HRESULT WINAPI CheckDepthStencilMatch(D3DDEVTYPE DeviceType, D3DFORMAT AdapterFormat, D3DFORMAT Re… [all …]
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | adapter9.h | 89 D3DDEVTYPE DeviceType, 97 D3DDEVTYPE DeviceType, 105 D3DDEVTYPE DeviceType, 112 D3DDEVTYPE DeviceType, 118 D3DDEVTYPE DeviceType, 124 D3DDEVTYPE DeviceType, 135 D3DDEVTYPE DeviceType,
|
D | adapter9.c | 280 D3DDEVTYPE DeviceType, in NineAdapter9_CheckDeviceFormat() argument 296 nine_D3DDEVTYPE_to_str(DeviceType), d3dformat_to_string(AdapterFormat)); in NineAdapter9_CheckDeviceFormat() 304 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceFormat() 408 D3DDEVTYPE DeviceType, in NineAdapter9_CheckDeviceMultiSampleType() argument 420 "pQualityLevels=%p\n", This, nine_D3DDEVTYPE_to_str(DeviceType), in NineAdapter9_CheckDeviceMultiSampleType() 430 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceMultiSampleType() 470 D3DDEVTYPE DeviceType, in NineAdapter9_CheckDepthStencilMatch() argument 481 nine_D3DDEVTYPE_to_str(DeviceType), d3dformat_to_string(AdapterFormat), in NineAdapter9_CheckDepthStencilMatch() 491 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDepthStencilMatch() 516 D3DDEVTYPE DeviceType, in NineAdapter9_CheckDeviceFormatConversion() argument [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorDevice.h | 27 template <typename ExpressionType, typename DeviceType> class TensorDevice { 29 …TensorDevice(const DeviceType& device, ExpressionType& expression) : m_device(device), m_expressio… in TensorDevice() 35 internal::TensorExecutor<const Assign, DeviceType>::run(assign, m_device); 46 internal::TensorExecutor<const Assign, DeviceType>::run(assign, m_device); 57 internal::TensorExecutor<const Assign, DeviceType>::run(assign, m_device); 62 const DeviceType& m_device;
|
/external/libchrome/base/system_monitor/ |
D | system_monitor.h | 22 enum DeviceType { enum 40 virtual void OnDevicesChanged(DeviceType device_type) {} in OnDevicesChanged() 61 void ProcessDevicesChanged(DeviceType device_type); 65 void NotifyDevicesChanged(DeviceType device_type);
|
D | system_monitor.cc | 33 void SystemMonitor::ProcessDevicesChanged(DeviceType device_type) { in ProcessDevicesChanged() 45 void SystemMonitor::NotifyDevicesChanged(DeviceType device_type) { in NotifyDevicesChanged()
|
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/objcxx/ |
D | PlatformiOSSimulatorCoreSimulatorSupport.h | 70 class DeviceType { 79 DeviceType(); 81 DeviceType(id d); 157 DeviceType GetDeviceType(); 173 llvm::Optional<DeviceType> m_dev_type; 209 DeviceSet GetDevices(DeviceType::ProductFamilyID dev_id); 211 Device GetFanciest(DeviceType::ProductFamilyID dev_id);
|
D | PlatformiOSSimulatorCoreSimulatorSupport.mm | 69 CoreSimulatorSupport::DeviceType::DeviceType() function 72 CoreSimulatorSupport::DeviceType::DeviceType(id d) function 75 CoreSimulatorSupport::DeviceType::operator bool() { return m_dev != nil; } 77 ConstString CoreSimulatorSupport::DeviceType::GetIdentifier() { 81 ConstString CoreSimulatorSupport::DeviceType::GetProductFamily() { 85 CoreSimulatorSupport::DeviceType::ProductFamilyID 86 CoreSimulatorSupport::DeviceType::GetProductFamilyID() { 174 CoreSimulatorSupport::DeviceType::GetModelIdentifier() { 203 std::string CoreSimulatorSupport::DeviceType::GetName() { 225 CoreSimulatorSupport::DeviceType CoreSimulatorSupport::Device::GetDeviceType() { [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | types.cc | 25 bool DeviceType::operator<(const DeviceType& other) const { in operator <() 29 bool DeviceType::operator==(const DeviceType& other) const { in operator ==() 33 std::ostream& operator<<(std::ostream& os, const DeviceType& d) { in operator <<() 200 string DeviceTypeString(const DeviceType& device_type) { in DeviceTypeString()
|
D | types.h | 54 class DeviceType { 56 DeviceType(const char* type) // NOLINT(runtime/explicit) in DeviceType() function 59 explicit DeviceType(StringPiece type) : type_(type.data(), type.size()) {} in DeviceType() function 64 bool operator<(const DeviceType& other) const; 65 bool operator==(const DeviceType& other) const; 66 bool operator!=(const DeviceType& other) const { return !(*this == other); } 71 std::ostream& operator<<(std::ostream& os, const DeviceType& d); 102 typedef gtl::InlinedVector<DeviceType, 4> DeviceTypeVector; 103 typedef gtl::InlinedVector<std::pair<DeviceType, int32>, 4> 108 std::string DeviceTypeString(const DeviceType& device_type);
|
/external/tensorflow/tensorflow/core/common_runtime/device/ |
D | device_id_manager_test.cc | 26 PlatformDeviceId TfToPlatformDeviceId(const DeviceType& type, TfDeviceId tf) { in TfToPlatformDeviceId() 34 DeviceType device_type("GPU"); in TEST() 72 DeviceType device_type0("GPU"); in TEST() 78 DeviceType device_type1("XPU"); in TEST()
|
D | device_id_manager.cc | 37 Status Insert(const DeviceType& type, TfDeviceId tf_device_id, in Insert() 62 bool Find(const DeviceType& type, TfDeviceId tf_device_id, in Find() 98 const DeviceType& type, TfDeviceId tf_device_id, in InsertTfPlatformDeviceIdPair() 105 const DeviceType& type, TfDeviceId tf_device_id, in TfToPlatformDeviceId()
|
D | device_id_manager.h | 31 const DeviceType& type, TfDeviceId tf_device_id, 36 static Status TfToPlatformDeviceId(const DeviceType& type,
|
/external/tensorflow/tensorflow/core/profiler/ |
D | profiler_options.proto | 12 enum DeviceType { enum 20 // DeviceType::UNSPECIFIED: All registered device profiler will be enabled. 21 // DeviceType::CPU: only CPU will be profiled. 22 // DeviceType::GPU: only CPU/GPU will be profiled. 23 // DeviceType::TPU: only CPU/TPU will be profiled. 24 DeviceType device_type = 6;
|
/external/angle/src/libANGLE/renderer/ |
D | CLDeviceImpl.h | 22 using CreateData = std::pair<cl::DeviceType, CreateFunc>; 28 explicit Info(cl::DeviceType deviceType); 40 cl::DeviceType type; 69 virtual Info createInfo(cl::DeviceType type) const = 0;
|
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/ |
D | SPIRVAttributes.h | 26 enum class DeviceType; variable 135 DeviceType deviceType, uint32_t deviceId, 161 DeviceType getDeviceType() const; 171 Vendor vendorID, DeviceType deviceType,
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_platform_info.h | 32 explicit XlaPlatformInfo(const DeviceType device_type, in XlaPlatformInfo() 52 DeviceType device_type() const { return device_type_; } in device_type() 66 DeviceType device_type_;
|
D | device_util.h | 135 const DeviceType& GetDeviceTypeFor(DeviceId device) const { in GetDeviceTypeFor() 139 using DeviceTypeConstRef = std::reference_wrapper<const DeviceType>; 156 std::vector<std::unique_ptr<DeviceType>> id_to_device_type_; 165 Status DeviceNameToDeviceType(const string& device, DeviceType* device_type);
|
/external/angle/src/libANGLE/ |
D | CLDevice.h | 52 static bool IsValidType(DeviceType type); 57 DeviceType type, 107 inline bool Device::IsValidType(DeviceType type) in IsValidType()
|