/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | GPUInfoTests.cpp | 21 const gpu_info::D3DDriverVersion version1 = {20, 19, 15, 5107}; 22 const gpu_info::D3DDriverVersion version2 = {21, 20, 16, 5077}; 23 const gpu_info::D3DDriverVersion version3 = {27, 20, 100, 9946}; 24 const gpu_info::D3DDriverVersion version4 = {27, 20, 101, 2003}; 28 EXPECT_EQ(gpu_info::CompareD3DDriverVersion(vendorID, version1, version2), -1); in TEST() 29 EXPECT_EQ(gpu_info::CompareD3DDriverVersion(vendorID, version2, version3), -1); in TEST() 30 EXPECT_EQ(gpu_info::CompareD3DDriverVersion(vendorID, version3, version4), -1); in TEST()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | gmemtool.c | 83 struct gpu_info { struct 96 static const struct gpu_info gpu_infos[] = { argument 148 const struct gpu_info *gpu_info = NULL; in main() local 152 gpu_info = &gpu_infos[i]; in main() 157 if (!gpu_info) { in main() 163 .gpu_id = gpu_info->gpu_id, in main() 170 .gmemsize_bytes = gpu_info->gmemsize_bytes, in main() 178 key.gmem_page_align = gpu_info->gmem_page_align; in main()
|
/third_party/mindspore/mindspore/lite/src/common/ |
D | context_util.cc | 52 auto gpu_info = std::make_shared<mindspore::GPUDeviceInfo>(); in GPUDeviceInfoFromGPUDeviceContext() local 53 MS_CHECK_TRUE_RET(gpu_info != nullptr, nullptr); in GPUDeviceInfoFromGPUDeviceContext() 54 gpu_info->SetEnableFP16(gpu_context.device_info_.gpu_device_info_.enable_float16_); in GPUDeviceInfoFromGPUDeviceContext() 55 gpu_info->SetDeviceID(gpu_context.device_info_.gpu_device_info_.gpu_device_id_); in GPUDeviceInfoFromGPUDeviceContext() 56 PassBasicProperties(gpu_info, gpu_context); in GPUDeviceInfoFromGPUDeviceContext() 57 return gpu_info; in GPUDeviceInfoFromGPUDeviceContext()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | BackendGL.cpp | 34 const Vendor kVendors[] = {{"ATI", gpu_info::kVendorID_AMD}, 35 {"ARM", gpu_info::kVendorID_ARM}, 36 {"Imagination", gpu_info::kVendorID_ImgTec}, 37 {"Intel", gpu_info::kVendorID_Intel}, 38 {"NVIDIA", gpu_info::kVendorID_Nvidia}, 39 {"Qualcomm", gpu_info::kVendorID_Qualcomm}};
|
/third_party/mesa3d/src/amd/vulkan/winsys/null/ |
D | radv_null_winsys.c | 37 } gpu_info[] = { variable 106 info->pci_id = gpu_info[info->family].pci_id; in radv_null_winsys_query_info() 131 info->max_render_backends = gpu_info[info->family].num_render_backends; in radv_null_winsys_query_info() 133 info->has_dedicated_vram = gpu_info[info->family].has_dedicated_vram; in radv_null_winsys_query_info()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | AdapterD3D12.h | 40 const gpu_info::D3DDriverVersion& GetDriverVersion() const; 58 gpu_info::D3DDriverVersion mDriverVersion;
|
D | DeviceD3D12.cpp | 594 if (gpu_info::IsIntel(pciInfo.vendorId) && in InitTogglesFromDriver() 595 (gpu_info::IsSkylake(pciInfo.deviceId) || gpu_info::IsKabylake(pciInfo.deviceId) || in InitTogglesFromDriver() 596 gpu_info::IsCoffeelake(pciInfo.deviceId))) { in InitTogglesFromDriver() 597 constexpr gpu_info::D3DDriverVersion kFirstDriverVersionWithFix = {30, 0, 100, 9864}; in InitTogglesFromDriver() 598 if (gpu_info::CompareD3DDriverVersion(pciInfo.vendorId, in InitTogglesFromDriver()
|
D | D3D12Info.cpp | 57 !gpu_info::IsIntel(adapter.GetPCIInfo().vendorId)) { in GatherDeviceInfo()
|
D | AdapterD3D12.cpp | 60 const gpu_info::D3DDriverVersion& Adapter::GetDriverVersion() const { in GetDriverVersion()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/ms/ |
D | ms_model.cc | 166 auto gpu_info = device_infos[0]->Cast<GPUDeviceInfo>(); in GetDeviceID() local 167 if (gpu_info != nullptr) { in GetDeviceID() 168 return gpu_info->GetDeviceID(); in GetDeviceID()
|
/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/ |
D | tensorrt_delegate.cc | 69 auto gpu_info = (*iter)->Cast<GPUDeviceInfo>(); in Init() local 70 if (gpu_info == nullptr) { in Init() 74 device_info_ = gpu_info; in Init()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | AdapterVk.cpp | 276 if (!gpu_info::IsAMD(vendorId) && !gpu_info::IsIntel(vendorId) && in InitializeSupportedLimitsImpl() 277 !gpu_info::IsNvidia(vendorId)) { in InitializeSupportedLimitsImpl()
|
/third_party/mindspore/mindspore/ccsrc/cxx_api/graph/gpu/ |
D | gpu_graph_impl.cc | 71 auto gpu_info = device_infos[0]->Cast<GPUDeviceInfo>(); in InitEnv() local 72 if (gpu_info == nullptr) { in InitEnv() 76 ms_context->set_param<std::string>(MS_CTX_INFER_PRECISION_MODE, gpu_info->GetPrecisionMode()); in InitEnv()
|
/third_party/mesa3d/src/freedreno/common/ |
D | freedreno_devices.py | 40 def info_index(self, gpu_info): argument 43 if gpu_info == info:
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | GPUInfo.h | 24 namespace gpu_info {
|
D | GPUInfo.cpp | 22 namespace gpu_info { namespace
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | BackendMTL.mm | 49 const Vendor kVendors[] = {{"AMD", gpu_info::kVendorID_AMD}, 50 {"Radeon", gpu_info::kVendorID_AMD}, 51 {"Intel", gpu_info::kVendorID_Intel}, 52 {"Geforce", gpu_info::kVendorID_Nvidia}, 53 {"Quadro", gpu_info::kVendorID_Nvidia}}; 314 !(gpu_info::IsAMD(GetPCIInfo().vendorId) && IsMacOSVersionAtLeast(11));
|
D | DeviceMTL.mm | 141 gpu_info::IsIntel(GetAdapter()->GetPCIInfo().vendorId) ? 83.333f : 1.0f; 208 bool useSharedMode = gpu_info::IsIntel(pciInfo.vendorId); 214 if (gpu_info::IsIntel(pciInfo.vendorId)) { 220 if (gpu_info::IsIntel(this->GetAdapter()->GetPCIInfo().vendorId)) { 222 if (gpu_info::IsSkylake(this->GetAdapter()->GetPCIInfo().deviceId)) {
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.0.3.rst | 184 - ac/gpu_info: rename num_tcc_blocks -\> max_tcc_blocks 185 - ac/gpu_info: add radeon_info::num_tcc_blocks 186 - ac/gpu_info: fix more non-coherent RB and GL2 combinations
|
D | 18.1.3.rst | 114 - ac/gpu_info: report real total memory sizes 115 - ac/gpu_info: add kernel_flushes_hdp_before_ib
|
D | 21.1.2.rst | 132 - ac/gpu_info: set has_zero_index_buffer_bug for Navi12 too
|
D | 19.3.3.rst | 149 - ac/gpu_info: always use distributed tessellation on gfx10
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | DawnTest.cpp | 738 return gpu_info::IsAMD(mParam.adapterProperties.vendorID); in IsAMD() 742 return gpu_info::IsARM(mParam.adapterProperties.vendorID); in IsARM() 746 return gpu_info::IsImgTec(mParam.adapterProperties.vendorID); in IsImgTec() 750 return gpu_info::IsIntel(mParam.adapterProperties.vendorID); in IsIntel() 754 return gpu_info::IsNvidia(mParam.adapterProperties.vendorID); in IsNvidia() 758 return gpu_info::IsQualcomm(mParam.adapterProperties.vendorID); in IsQualcomm() 762 return gpu_info::IsSwiftshader(mParam.adapterProperties.vendorID, in IsSwiftshader() 771 return gpu_info::IsWARP(mParam.adapterProperties.vendorID, mParam.adapterProperties.deviceID); in IsWARP()
|
/third_party/libdrm/tests/amdgpu/ |
D | basic_tests.c | 591 struct amdgpu_gpu_info gpu_info = {0}; in suite_basic_tests_init() local 605 r = amdgpu_query_gpu_info(device_handle, &gpu_info); in suite_basic_tests_init() 609 family_id = gpu_info.family_id; in suite_basic_tests_init() 626 struct amdgpu_gpu_info gpu_info = {0}; in amdgpu_query_info_test() local 630 r = amdgpu_query_gpu_info(device_handle, &gpu_info); in amdgpu_query_info_test() 2627 struct amdgpu_gpu_info gpu_info = {0}; in amdgpu_memcpy_dispatch_hang_slow_test() local 2631 r = amdgpu_query_gpu_info(device_handle, &gpu_info); in amdgpu_memcpy_dispatch_hang_slow_test() 2651 r = amdgpu_dispatch_load_cs_shader_hang_slow(ptr_shader, gpu_info.family_id); in amdgpu_memcpy_dispatch_hang_slow_test() 3505 struct amdgpu_gpu_info gpu_info = {0}; in amdgpu_memcpy_draw_hang_slow_test() local 3517 r = amdgpu_query_gpu_info(device_handle, &gpu_info); in amdgpu_memcpy_draw_hang_slow_test() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | AdapterDiscoveryTests.cpp | 65 EXPECT_TRUE(gpu_info::IsSwiftshader(properties.vendorID, properties.deviceID)); in TEST()
|