Do not check default value of SVM attribute Granularity

Change-Id: I3cf97fc551259c873351cfd22fc83e8615cc3e56
Этот коммит содержится в:
Ramesh Errabolu
2024-09-04 16:01:01 -05:00
коммит произвёл David Yat Sin
родитель d60f56ab32
Коммит 71fa3fa19b
+5
Просмотреть файл
@@ -141,6 +141,11 @@ TEST_P(KFDSVMRangeTest, SetGetAttributesTest) {
nAttributes, outputAttributes));
for (i = 0; i < nAttributes; i++) {
/* Default granularity could be specified using module parameter,
* therefore it is incorrect to expect a particular value
*/
if (outputAttributes[i].type == HSA_SVM_ATTR_GRANULARITY)
continue;
if (outputAttributes[i].type == HSA_SVM_ATTR_ACCESS ||
outputAttributes[i].type == HSA_SVM_ATTR_ACCESS_IN_PLACE ||
outputAttributes[i].type == HSA_SVM_ATTR_NO_ACCESS)