Fix PCI bus domain ID query
SWDEV-256338 Change-Id: I5db361bd2899a5bf761ecf05ecd4635f9e3dce1d
Ta zmiana jest zawarta w:
%! (template.HTML=
Rahul Garg)złożyło 2020-10-19 12:02:50 -04:00
1 rodzic
21a447f72e
złożenie
507ec0a1b8
Plik 1 zmieniony
+1
-1
@@ -193,7 +193,7 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
|
||||
deviceProps.arch.has3dGrid = 1;
|
||||
deviceProps.arch.hasDynamicParallelism = 0;
|
||||
deviceProps.concurrentKernels = 1;
|
||||
deviceProps.pciDomainID = info.deviceTopology_.pcie.function;
|
||||
deviceProps.pciDomainID = info.pciDomainID;
|
||||
deviceProps.pciBusID = info.deviceTopology_.pcie.bus;
|
||||
deviceProps.pciDeviceID = info.deviceTopology_.pcie.device;
|
||||
deviceProps.maxSharedMemoryPerMultiProcessor = info.localMemSizePerCU_;
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika