Home
last modified time | relevance | path

Searched refs:DeviceType (Results 1 – 25 of 181) sorted by relevance

12345678

/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_set_test.cc52 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 …]
Ddevice_set.cc61 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()
Dcopy_tensor.h56 Registration(DeviceType sender_device_type, DeviceType receiver_device_type, in Registration()
67 static Status Register(DeviceType sender_device_type,
68 DeviceType receiver_device_type,
Dmemory_types.h27 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,
Dcopy_tensor.cc34 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()
Dcollective_rma_local.cc129 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/
Dd3dadapter9.h42 …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/
Dadapter9.h89 D3DDEVTYPE DeviceType,
97 D3DDEVTYPE DeviceType,
105 D3DDEVTYPE DeviceType,
112 D3DDEVTYPE DeviceType,
118 D3DDEVTYPE DeviceType,
124 D3DDEVTYPE DeviceType,
135 D3DDEVTYPE DeviceType,
Dadapter9.c280 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/
DTensorDevice.h27 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/
Dsystem_monitor.h22 enum DeviceType { enum
40 virtual void OnDevicesChanged(DeviceType device_type) {} in OnDevicesChanged()
61 void ProcessDevicesChanged(DeviceType device_type);
65 void NotifyDevicesChanged(DeviceType device_type);
Dsystem_monitor.cc33 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/
DPlatformiOSSimulatorCoreSimulatorSupport.h70 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);
DPlatformiOSSimulatorCoreSimulatorSupport.mm69 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/
Dtypes.cc25 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()
Dtypes.h54 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/
Ddevice_id_manager_test.cc26 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()
Ddevice_id_manager.cc37 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()
Ddevice_id_manager.h31 const DeviceType& type, TfDeviceId tf_device_id,
36 static Status TfToPlatformDeviceId(const DeviceType& type,
/external/tensorflow/tensorflow/core/profiler/
Dprofiler_options.proto12 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/
DCLDeviceImpl.h22 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/
DSPIRVAttributes.h26 enum class DeviceType; variable
135 DeviceType deviceType, uint32_t deviceId,
161 DeviceType getDeviceType() const;
171 Vendor vendorID, DeviceType deviceType,
/external/tensorflow/tensorflow/compiler/jit/
Dxla_platform_info.h32 explicit XlaPlatformInfo(const DeviceType device_type, in XlaPlatformInfo()
52 DeviceType device_type() const { return device_type_; } in device_type()
66 DeviceType device_type_;
Ddevice_util.h135 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/
DCLDevice.h52 static bool IsValidType(DeviceType type);
57 DeviceType type,
107 inline bool Device::IsValidType(DeviceType type) in IsValidType()

12345678