Do not check default value of SVM attribute Granularity

Change-Id: I3cf97fc551259c873351cfd22fc83e8615cc3e56
このコミットが含まれているのは:
Ramesh Errabolu authored and David Yat Sin committed 2024-09-19 19:44:53 +00:00
1 親 d60f56ab32
コミット 71fa3fa19b
1ファイル変更
+5
+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)