Home
last modified time | relevance | path

Searched refs:DeviceInfo (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/common/
DPackedCLEnums_autogen.cpp224 DeviceInfo FromCLenum<DeviceInfo>(CLenum from) in FromCLenum()
229 return DeviceInfo::Type; in FromCLenum()
231 return DeviceInfo::VendorID; in FromCLenum()
233 return DeviceInfo::MaxComputeUnits; in FromCLenum()
235 return DeviceInfo::MaxWorkItemDimensions; in FromCLenum()
237 return DeviceInfo::MaxWorkGroupSize; in FromCLenum()
239 return DeviceInfo::MaxWorkItemSizes; in FromCLenum()
241 return DeviceInfo::PreferredVectorWidthChar; in FromCLenum()
243 return DeviceInfo::PreferredVectorWidthShort; in FromCLenum()
245 return DeviceInfo::PreferredVectorWidthInt; in FromCLenum()
[all …]
DPackedCLEnums_autogen.h79 enum class DeviceInfo : uint8_t enum
196 DeviceInfo FromCLenum<DeviceInfo>(CLenum from);
197 CLenum ToCLenum(DeviceInfo from);
198 std::ostream &operator<<(std::ostream &os, DeviceInfo value);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLDevice.cpp19 cl_int Device::getInfo(DeviceInfo name, size_t valueSize, void *value, size_t *valueSizeRet) const in getInfo()
51 case DeviceInfo::VendorID: in getInfo()
52 case DeviceInfo::MaxComputeUnits: in getInfo()
53 case DeviceInfo::PreferredVectorWidthChar: in getInfo()
54 case DeviceInfo::PreferredVectorWidthShort: in getInfo()
55 case DeviceInfo::PreferredVectorWidthInt: in getInfo()
56 case DeviceInfo::PreferredVectorWidthLong: in getInfo()
57 case DeviceInfo::PreferredVectorWidthFloat: in getInfo()
58 case DeviceInfo::PreferredVectorWidthDouble: in getInfo()
59 case DeviceInfo::PreferredVectorWidthHalf: in getInfo()
[all …]
DvalidationCL.cpp575 DeviceInfo param_name, in ValidateGetDeviceInfo()
595 case DeviceInfo::PreferredVectorWidthHalf: in ValidateGetDeviceInfo()
596 case DeviceInfo::NativeVectorWidthChar: in ValidateGetDeviceInfo()
597 case DeviceInfo::NativeVectorWidthShort: in ValidateGetDeviceInfo()
598 case DeviceInfo::NativeVectorWidthInt: in ValidateGetDeviceInfo()
599 case DeviceInfo::NativeVectorWidthLong: in ValidateGetDeviceInfo()
600 case DeviceInfo::NativeVectorWidthFloat: in ValidateGetDeviceInfo()
601 case DeviceInfo::NativeVectorWidthDouble: in ValidateGetDeviceInfo()
602 case DeviceInfo::NativeVectorWidthHalf: in ValidateGetDeviceInfo()
603 case DeviceInfo::HostUnifiedMemory: in ValidateGetDeviceInfo()
[all …]
DCLDevice.h28 cl_int getInfo(DeviceInfo name, size_t valueSize, void *value, size_t *valueSizeRet) const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLDeviceCL.cpp25 bool GetDeviceInfo(cl_device_id device, cl::DeviceInfo name, std::vector<T> &vector) in GetDeviceInfo()
45 bool GetDeviceInfo(cl_device_id device, cl::DeviceInfo name, T &value) in GetDeviceInfo()
71 if (!GetDeviceInfo(mNative, cl::DeviceInfo::MaxWorkItemSizes, info.maxWorkItemSizes)) in createInfo()
86 if (!GetDeviceInfo(mNative, cl::DeviceInfo::MaxMemAllocSize, info.maxMemAllocSize) || in createInfo()
87 !GetDeviceInfo(mNative, cl::DeviceInfo::ImageSupport, info.imageSupport) || in createInfo()
88 !GetDeviceInfo(mNative, cl::DeviceInfo::Image2D_MaxWidth, info.image2D_MaxWidth) || in createInfo()
89 !GetDeviceInfo(mNative, cl::DeviceInfo::Image2D_MaxHeight, info.image2D_MaxHeight) || in createInfo()
90 !GetDeviceInfo(mNative, cl::DeviceInfo::Image3D_MaxWidth, info.image3D_MaxWidth) || in createInfo()
91 !GetDeviceInfo(mNative, cl::DeviceInfo::Image3D_MaxHeight, info.image3D_MaxHeight) || in createInfo()
92 !GetDeviceInfo(mNative, cl::DeviceInfo::Image3D_MaxDepth, info.image3D_MaxDepth) || in createInfo()
[all …]
DCLDeviceCL.h25 cl_int getInfoUInt(cl::DeviceInfo name, cl_uint *value) const override;
26 cl_int getInfoULong(cl::DeviceInfo name, cl_ulong *value) const override;
27 cl_int getInfoSizeT(cl::DeviceInfo name, size_t *value) const override;
28 cl_int getInfoStringLength(cl::DeviceInfo name, size_t *value) const override;
29 cl_int getInfoString(cl::DeviceInfo name, size_t size, char *value) const override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DCLDeviceVk.h26 cl_int getInfoUInt(cl::DeviceInfo name, cl_uint *value) const override;
27 cl_int getInfoULong(cl::DeviceInfo name, cl_ulong *value) const override;
28 cl_int getInfoSizeT(cl::DeviceInfo name, size_t *value) const override;
29 cl_int getInfoStringLength(cl::DeviceInfo name, size_t *value) const override;
30 cl_int getInfoString(cl::DeviceInfo name, size_t size, char *value) const override;
DCLDeviceVk.cpp25 cl_int CLDeviceVk::getInfoUInt(cl::DeviceInfo name, cl_uint *value) const in getInfoUInt()
30 cl_int CLDeviceVk::getInfoULong(cl::DeviceInfo name, cl_ulong *value) const in getInfoULong()
35 cl_int CLDeviceVk::getInfoSizeT(cl::DeviceInfo name, size_t *value) const in getInfoSizeT()
40 cl_int CLDeviceVk::getInfoStringLength(cl::DeviceInfo name, size_t *value) const in getInfoStringLength()
45 cl_int CLDeviceVk::getInfoString(cl::DeviceInfo name, size_t size, char *value) const in getInfoString()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DServer.cpp132 DeviceInfo* info = static_cast<DeviceInfo*>(userdata); in InjectDevice()
141 DeviceInfo* info = static_cast<DeviceInfo*>(userdata); in InjectDevice()
148 DeviceInfo* info = static_cast<DeviceInfo*>(userdata); in InjectDevice()
172 bool TrackDeviceChild(DeviceInfo* info, ObjectType type, ObjectId id) { in TrackDeviceChild()
181 bool UntrackDeviceChild(DeviceInfo* info, ObjectType type, ObjectId id) { in UntrackDeviceChild()
DObjectStorage.h27 struct DeviceInfo { struct
50 DeviceInfo* deviceInfo = nullptr; argument
89 std::unique_ptr<DeviceInfo> info = std::make_unique<DeviceInfo>();
DServer.h229 bool TrackDeviceChild(DeviceInfo* device, ObjectType type, ObjectId id);
230 bool UntrackDeviceChild(DeviceInfo* device, ObjectType type, ObjectId id);
/third_party/mindspore/mindspore/core/ir/
Dmeta_tensor.h45 struct DeviceInfo { struct
46 explicit DeviceInfo(std::string format = "DefaultFormat", TypePtr data_type = nullptr,
138 DeviceInfo device_info() const { return device_info_; } in device_info()
141 void set_device_info(const DeviceInfo &device_info) { device_info_ = device_info; } in set_device_info()
198 DeviceInfo device_info_;
Dmeta_tensor.cc86 DeviceInfo info(format, data_type, host_format); in SetDeviceInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DCLDeviceImpl.h71 virtual cl_int getInfoUInt(cl::DeviceInfo name, cl_uint *value) const = 0;
72 virtual cl_int getInfoULong(cl::DeviceInfo name, cl_ulong *value) const = 0;
73 virtual cl_int getInfoSizeT(cl::DeviceInfo name, size_t *value) const = 0;
74 virtual cl_int getInfoStringLength(cl::DeviceInfo name, size_t *value) const = 0;
75 virtual cl_int getInfoString(cl::DeviceInfo name, size_t size, char *value) const = 0;
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/include/
Dcontext.h45 struct DeviceInfo { struct
49 union DeviceInfo { union
59 DeviceInfo device_info_;
/third_party/mindspore/mindspore/lite/src/cxx_api/
Dconverters.cc40 lite::DeviceInfo device_info = {0}; in AddCpuDevice()
49 lite::DeviceInfo device_info = {0}; in AddGpuDevice()
56 lite::DeviceInfo device_info = {0}; in AddNpuDevice()
63 lite::DeviceInfo device_info = {0}; in AddAscend310Device()
71 lite::DeviceInfo device_info = {0}; in AddNNRtDevice()
/third_party/mindspore/mindspore/lite/include/
Dcontext.h51 struct DeviceInfo { struct
62 DeviceInfo device_info_;
/third_party/libusb/libusb/os/
Dwindows_usbdk.h56 PUSB_DK_DEVICE_INFO *DeviceInfo,
60 PUSB_DK_DEVICE_INFO DeviceInfo
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dtransposed_update_fusion.cc32 tensor::DeviceInfo device_info{kOpFormat_DEFAULT, tensor_type}; in CreatePermTensor()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/
Dlin_space_fission.cc51 tensor::DeviceInfo device_info{kOpFormat_DEFAULT, tensor_type}; in CreateTensor()
Dmax_pool3d_grad_grad_fission.cc51 tensor::DeviceInfo device_info{kOpFormat_NDC1HWC0, tensor_type}; in CreateTensor()
Dspace_to_depth_split.cc45 tensor::DeviceInfo device_info{kOpFormat_NC1HWC0, tensor_type}; in CreateTensor()
Dtopk_split.cc39 tensor::DeviceInfo device_info{kOpFormat_DEFAULT, tensor_type}; in CreateTensor()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_helper.h114 tensor::DeviceInfo device_info{info.format, info.type}; in CreateScalarTensorValueNode()

12