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)