SWDEV-221166 - Detect support for large bar access through HIP runtime API

Change-Id: Iaa9756c1b5e40c1ab5afb38e44a6699fa5f6c13f
This commit is contained in:
Alex Xie
2020-04-30 22:19:15 -04:00
committed by AlexBin Xie
szülő a94de6d463
commit 044a7e55ad
5 fájl változott, egészen pontosan 5 új sor hozzáadva és 6 régi sor törölve
+1
Fájl megtekintése
@@ -230,6 +230,7 @@ hipError_t hipGetDeviceProperties ( hipDeviceProp_t* props, hipDevice_t device )
deviceProps.texturePitchAlignment = info.imagePitchAlignment_;
deviceProps.kernelExecTimeoutEnabled = 0;
deviceProps.ECCEnabled = info.errorCorrectionSupport_? 1:0;
deviceProps.isLargeBar = info.largeBar_ ? 1 : 0;
*props = deviceProps;
HIP_RETURN(hipSuccess);