Home
last modified time | relevance | path

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

12345

/third_party/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 …]
/third_party/mindspore/include/api/
Dcontext.h27 enum DeviceType { enum
124 virtual enum DeviceType GetDeviceType() const = 0;
180 enum DeviceType GetDeviceType() const override { return DeviceType::kCPU; }; in GetDeviceType()
200 enum DeviceType GetDeviceType() const override { return DeviceType::kKirinNPU; }; in GetDeviceType()
220 enum DeviceType GetDeviceType() const override { return DeviceType::kGPU; }; in GetDeviceType()
269 enum DeviceType GetDeviceType() const override { return DeviceType::kAscend910; }; in GetDeviceType()
289 enum DeviceType GetDeviceType() const override { return DeviceType::kAscend310; }; in GetDeviceType()
449 enum DeviceType GetDeviceType() const override { return DeviceType::kNNRt; }; in GetDeviceType()
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/include/api/
Dcontext.h27 enum DeviceType { enum
64 virtual enum DeviceType GetDeviceType() const = 0;
82 enum DeviceType GetDeviceType() const override { return DeviceType::kCPU; }; in GetDeviceType()
95 enum DeviceType GetDeviceType() const override { return DeviceType::kKirinNPU; }; in GetDeviceType()
103 enum DeviceType GetDeviceType() const override { return DeviceType::kGPU; }; in GetDeviceType()
117 enum DeviceType GetDeviceType() const override { return DeviceType::kAscend910; }; in GetDeviceType()
125 enum DeviceType GetDeviceType() const override { return DeviceType::kAscend310; }; in GetDeviceType()
/third_party/mesa3d/src/gallium/frontends/nine/
Dadapter9.h91 D3DDEVTYPE DeviceType,
99 D3DDEVTYPE DeviceType,
107 D3DDEVTYPE DeviceType,
114 D3DDEVTYPE DeviceType,
120 D3DDEVTYPE DeviceType,
126 D3DDEVTYPE DeviceType,
137 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()
413 D3DDEVTYPE DeviceType, in NineAdapter9_CheckDeviceMultiSampleType() argument
425 "pQualityLevels=%p\n", This, nine_D3DDEVTYPE_to_str(DeviceType), in NineAdapter9_CheckDeviceMultiSampleType()
435 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceMultiSampleType()
475 D3DDEVTYPE DeviceType, in NineAdapter9_CheckDepthStencilMatch() argument
486 nine_D3DDEVTYPE_to_str(DeviceType), d3dformat_to_string(AdapterFormat), in NineAdapter9_CheckDepthStencilMatch()
496 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDepthStencilMatch()
521 D3DDEVTYPE DeviceType, in NineAdapter9_CheckDeviceFormatConversion() argument
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DAdapterVk.cpp49 mDeviceType = DeviceType::IntegratedGPU; in Initialize()
52 mDeviceType = DeviceType::DiscreteGPU; in Initialize()
55 mDeviceType = DeviceType::CPU; in Initialize()
58 mDeviceType = DeviceType::Unknown; in Initialize()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DAdapter.h32 DeviceType GetDeviceType() const;
40 DeviceType mDeviceType = DeviceType::Unknown;
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/
Dsplit_strategy.h87 const std::map<std::string, lite::DeviceType> kSupportSplitedDevices = {
88 …{"cpu", lite::DeviceType::DT_CPU}, {"gpu", lite::DeviceType::DT_GPU}, {"npu", lite::DeviceType::DT…
/third_party/skia/third_party/externals/angle2/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;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DAdapterD3D12.cpp78 mDeviceType = DeviceType::CPU; in Initialize()
80 mDeviceType = (mDeviceInfo.isUMA) ? DeviceType::IntegratedGPU : DeviceType::DiscreteGPU; in Initialize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDawnNative.cpp83 DeviceType Adapter::GetDeviceType() const { in GetDeviceType()
86 return DeviceType::DiscreteGPU; in GetDeviceType()
88 return DeviceType::IntegratedGPU; in GetDeviceType()
90 return DeviceType::CPU; in GetDeviceType()
92 return DeviceType::Unknown; in GetDeviceType()
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Ddevice_tensor_store.h53 if (iter->second[i]->DeviceType() == value->DeviceType()) { in Insert()
86 if (device_tensor->DeviceType() == value_type) { in Fetch()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Dtransfer_node.cc85 DeviceQueueOp::DeviceType type; in Build()
87 type = DeviceQueueOp::DeviceType::CPU; in Build()
89 type = DeviceQueueOp::DeviceType::GPU; in Build()
91 type = DeviceQueueOp::DeviceType::Ascend; in Build()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLDevice.h52 static bool IsValidType(DeviceType type);
57 DeviceType type,
107 inline bool Device::IsValidType(DeviceType type) in IsValidType()
DCLPlatform.cpp21 bool IsDeviceTypeMatch(DeviceType select, DeviceType type) in IsDeviceTypeMatch()
182 cl_int Platform::getDeviceIDs(DeviceType deviceType, in getDeviceIDs()
235 DeviceType deviceType, in CreateContextFromType()
DCLPlatform.h38 cl_int getDeviceIDs(DeviceType deviceType,
51 DeviceType deviceType,
/third_party/mindspore/mindspore/lite/src/
Dsub_graph_split.h78 DeviceType device_;
114 void InitMainGraphDevice(DeviceType dt = DT_CPU);
145 DeviceType major_dt_;
146 DeviceType minor_dt_;
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Ddata_prepare_actor.cc257 …if ((tensor_address != nullptr) && (tensor_address->DeviceType() == device_address->DeviceType()))… in PrepareDataForHostTensorQueue()
424 if (host_tensor_address->DeviceType() == device_tensor->DeviceType()) { in PrepareDataForWeightNode()
427 …LOG(INFO) << "The device type is not equal, host tensor type:" << host_tensor_address->DeviceType() in PrepareDataForWeightNode()
428 << ", device tensor type:" << device_tensor->DeviceType(); in PrepareDataForWeightNode()
439 << ", device type:" << host_tensor_address->DeviceType(); in PrepareDataForWeightNode()
448 auto another_device_type = another_device_tensor->DeviceType(); in PrepareDataForWeightNode()
570 …if ((tensor_address != nullptr) && (tensor_address->DeviceType() == device_address->DeviceType()))… in PrepareHostTensorQueueForControlNode()
Dactor_common.cc157 if (src_device_tensor->DeviceType() == device::DeviceAddressType::kCPU) { in Copy()
160 } else if (dst_device_tensor->DeviceType() == device::DeviceAddressType::kCPU) { in Copy()
164 MS_LOG(ERROR) << "Invalid device type, src device type: " << src_device_tensor->DeviceType() in Copy()
165 << ", dst device type: " << dst_device_tensor->DeviceType(); in Copy()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_distributedHardware_deviceManager.js19 const DeviceType = { variable
57 deviceType: DeviceType,
211 DeviceType, property
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/
Ddevice_queue_op.h62 enum class DeviceType { Ascend = 0, GPU = 1, CPU = 2 }; enum
66 …DeviceQueueOp(std::string channel_name, DeviceType device_type, int32_t device_id, int32_t prefetc…
178 DeviceType device_type_;
/third_party/flutter/skia/third_party/externals/dawn/src/include/dawn_native/
DDawnNative.h40 enum class DeviceType { enum
79 DeviceType GetDeviceType() const;
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/
Dmodel.cc24 std::string GetDeviceTypeString(enum DeviceType type) { in GetDeviceTypeString()
25 static const std::map<enum DeviceType, std::string> kDeviceTypeStrs = { in GetDeviceTypeString()
177 bool Model::CheckModelSupport(enum DeviceType device_type, ModelType model_type) { in CheckModelSupport()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DCLPlatformVk.cpp61 cl::DeviceType type; // TODO(jplate) Fetch device type from Vulkan in createDevices()
78 cl::DeviceType deviceType, in createContextFromType()
/third_party/mindspore/mindspore/lite/java/java/common/src/main/java/com/mindspore/lite/config/
DDeviceType.java23 public class DeviceType { class

12345