Do not check default value of SVM attribute Granularity
Change-Id: I3cf97fc551259c873351cfd22fc83e8615cc3e56
Этот коммит содержится в:
коммит произвёл
David Yat Sin
родитель
d60f56ab32
Коммит
71fa3fa19b
@@ -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)
|
||||
|
||||
Ссылка в новой задаче
Block a user