/third_party/flutter/skia/third_party/externals/angle2/src/gpu_info_util/ |
D | SystemInfo.h | 30 struct GPUDeviceInfo struct 32 GPUDeviceInfo(); 33 ~GPUDeviceInfo(); 35 GPUDeviceInfo(const GPUDeviceInfo &other); 59 std::vector<GPUDeviceInfo> gpus; argument
|
D | SystemInfo.cpp | 49 GPUDeviceInfo::GPUDeviceInfo() = default; 51 GPUDeviceInfo::~GPUDeviceInfo() = default; 53 GPUDeviceInfo::GPUDeviceInfo(const GPUDeviceInfo &other) = default; 63 for (const GPUDeviceInfo &gpu : gpus) in hasNVIDIAGPU() 75 for (const GPUDeviceInfo &gpu : gpus) in hasIntelGPU() 87 for (const GPUDeviceInfo &gpu : gpus) in hasAMDGPU()
|
D | SystemInfo_linux.cpp | 66 bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices) in GetPCIDevicesWithLibPCI() 88 GPUDeviceInfo *gpu = &info->gpus[i]; in GetSystemInfo() 129 GPUDeviceInfo nvidiaInfo; in GetSystemInfo()
|
D | SystemInfo_win.cpp | 29 bool GetDevicesFromDXGI(std::vector<GPUDeviceInfo> *devices) in GetDevicesFromDXGI() 62 GPUDeviceInfo device; in GetDevicesFromDXGI()
|
D | SystemInfo_libpci.cpp | 87 bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices) in GetPCIDevicesWithLibPCI() 121 GPUDeviceInfo info; in GetPCIDevicesWithLibPCI()
|
D | SystemInfo_internal.h | 18 bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices);
|
D | SystemInfo_mac.mm | 74 bool GetPCIDevices(std::vector<GPUDeviceInfo> *devices) 92 GPUDeviceInfo info;
|
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/ |
D | SystemInfo.cpp | 55 GPUDeviceInfo::GPUDeviceInfo() = default; 57 GPUDeviceInfo::~GPUDeviceInfo() = default; 59 GPUDeviceInfo::GPUDeviceInfo(const GPUDeviceInfo &other) = default; 69 for (const GPUDeviceInfo &gpu : gpus) in hasNVIDIAGPU() 81 for (const GPUDeviceInfo &gpu : gpus) in hasIntelGPU() 93 for (const GPUDeviceInfo &gpu : gpus) in hasAMDGPU()
|
D | SystemInfo.h | 31 struct GPUDeviceInfo struct 33 GPUDeviceInfo(); 34 ~GPUDeviceInfo(); 36 GPUDeviceInfo(const GPUDeviceInfo &other); 61 std::vector<GPUDeviceInfo> gpus; argument
|
D | SystemInfo_linux.cpp | 66 bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices) in GetPCIDevicesWithLibPCI() 93 GPUDeviceInfo *gpu = &info->gpus[i]; in GetSystemInfo() 134 GPUDeviceInfo nvidiaInfo; in GetSystemInfo()
|
D | SystemInfo_win.cpp | 28 bool GetDevicesFromDXGI(std::vector<GPUDeviceInfo> *devices) in GetDevicesFromDXGI() 70 GPUDeviceInfo device; in GetDevicesFromDXGI()
|
D | SystemInfo_libpci.cpp | 90 bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices) in GetPCIDevicesWithLibPCI() 119 GPUDeviceInfo info; in GetPCIDevicesWithLibPCI()
|
D | SystemInfo_ios.cpp | 23 GPUDeviceInfo deviceInfo; in GetSystemInfo_ios()
|
D | SystemInfo_internal.h | 18 bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices);
|
/third_party/mindspore/tests/ut/cpp/cxx_api/ |
D | context_test.cc | 28 std::shared_ptr<DeviceInfoContext> gpu = std::make_shared<GPUDeviceInfo>(); in TEST_F() 34 ASSERT_TRUE(gpu->Cast<GPUDeviceInfo>() != nullptr); in TEST_F() 42 std::shared_ptr<DeviceInfoContext> gpu = std::make_shared<GPUDeviceInfo>(); in TEST_F() 47 ASSERT_TRUE(cpu->Cast<GPUDeviceInfo>() == nullptr); in TEST_F() 48 ASSERT_TRUE(kirin_npu->Cast<GPUDeviceInfo>() == nullptr); in TEST_F() 49 ASSERT_TRUE(ascend310->Cast<GPUDeviceInfo>() == nullptr); in TEST_F() 50 ASSERT_TRUE(ascend910->Cast<GPUDeviceInfo>() == nullptr); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/ |
D | context.cc | 130 void GPUDeviceInfo::SetEnableFP16(bool is_fp16) { in SetEnableFP16() 134 bool GPUDeviceInfo::GetEnableFP16() const { in GetEnableFP16() 148 void GPUDeviceInfo::SetDeviceID(uint32_t device_id) { in SetDeviceID() 152 uint32_t GPUDeviceInfo::GetDeviceID() const { in GetDeviceID() 157 void GPUDeviceInfo::SetPrecisionMode(const std::vector<char> &precision_mode) { in SetPrecisionMode() 161 std::vector<char> GPUDeviceInfo::GetPrecisionModeChar() const { in GetPrecisionModeChar()
|
/third_party/mindspore/mindspore/lite/src/cxx_api/ |
D | context.cc | 224 void GPUDeviceInfo::SetEnableFP16(bool is_fp16) { in SetEnableFP16() 231 bool GPUDeviceInfo::GetEnableFP16() const { in GetEnableFP16() 255 void GPUDeviceInfo::SetDeviceID(uint32_t device_id) { in SetDeviceID() 263 uint32_t GPUDeviceInfo::GetDeviceID() const { in GetDeviceID() 271 void GPUDeviceInfo::SetPrecisionMode(const std::vector<char> &precision_mode) { in SetPrecisionMode() 274 std::vector<char> GPUDeviceInfo::GetPrecisionModeChar() const { in GetPrecisionModeChar()
|
/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/ |
D | tensorrt_subgraph.h | 35 … std::shared_ptr<GPUDeviceInfo> device_info, TensorRTRuntime *runtime, bool support_hw_resize) in TensorRTSubGraph() 85 std::shared_ptr<GPUDeviceInfo> device_info_{nullptr};
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_expectations/ |
D | GPUTestConfig.cpp | 336 inline bool GetActiveGPU(GPUDeviceInfo **devInfo) in GetActiveGPU() 360 GPUDeviceInfo *activeGPU = nullptr; in GetActiveGPUVendorID() 375 GPUDeviceInfo *activeGPU = nullptr; in GetActiveGPUDeviceID()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/ |
D | GPUTestConfig.cpp | 308 inline bool GetActiveGPU(GPUDeviceInfo **devInfo) in GetActiveGPU() 326 GPUDeviceInfo *activeGPU = nullptr; in GetActiveGPUVendorID() 341 GPUDeviceInfo *activeGPU = nullptr; in GetActiveGPUDeviceID()
|
/third_party/mindspore/include/api/ |
D | context.h | 215 class MS_API GPUDeviceInfo : public DeviceInfoContext { 257 void GPUDeviceInfo::SetPrecisionMode(const std::string &precision_mode) { in SetPrecisionMode() 260 std::string GPUDeviceInfo::GetPrecisionMode() const { return CharToString(GetPrecisionModeChar()); } in GetPrecisionMode()
|
/third_party/mindspore/mindspore/lite/test/st/ |
D | multiple_device_test.cc | 371 context->MutableDeviceInfo().push_back(std::make_shared<mindspore::GPUDeviceInfo>()); in TEST_F() 384 context.MutableDeviceInfo().push_back(std::make_shared<mindspore::GPUDeviceInfo>()); in TEST_F() 406 context.MutableDeviceInfo().push_back(std::make_shared<mindspore::GPUDeviceInfo>()); in TEST_F() 429 context->MutableDeviceInfo().push_back(std::make_shared<mindspore::GPUDeviceInfo>()); in TEST_F() 475 context->MutableDeviceInfo().push_back(std::make_shared<mindspore::GPUDeviceInfo>()); in TEST_F() 519 context->MutableDeviceInfo().push_back(std::make_shared<mindspore::GPUDeviceInfo>()); in TEST_F() 543 context->MutableDeviceInfo().push_back(std::make_shared<mindspore::GPUDeviceInfo>()); in TEST_F()
|
/third_party/mindspore/mindspore/lite/src/common/ |
D | context_util.cc | 47 std::shared_ptr<mindspore::GPUDeviceInfo> GPUDeviceInfoFromGPUDeviceContext(const lite::DeviceConte… in GPUDeviceInfoFromGPUDeviceContext() 52 auto gpu_info = std::make_shared<mindspore::GPUDeviceInfo>(); in GPUDeviceInfoFromGPUDeviceContext()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | angle_test_instantiate.cpp | 128 GPUDeviceInfo *GetActiveGPUDeviceInfo() in GetActiveGPUDeviceInfo() 141 GPUDeviceInfo *gpuInfo = GetActiveGPUDeviceInfo(); in HasSystemVendorID() 148 GPUDeviceInfo *gpuInfo = GetActiveGPUDeviceInfo(); in HasSystemDeviceID()
|
/third_party/mindspore/mindspore/lite/examples/runtime_gpu_extend/ |
D | main.cc | 111 std::shared_ptr<GPUDeviceInfo> provider_gpu_device_info = std::make_shared<GPUDeviceInfo>(); in InitMSContext()
|