Do not check default value of SVM attribute Granularity
Change-Id: I3cf97fc551259c873351cfd22fc83e8615cc3e56
This commit is contained in:
committed by
David Yat Sin
parent
d60f56ab32
commit
71fa3fa19b
@@ -141,6 +141,11 @@ TEST_P(KFDSVMRangeTest, SetGetAttributesTest) {
|
|||||||
nAttributes, outputAttributes));
|
nAttributes, outputAttributes));
|
||||||
|
|
||||||
for (i = 0; i < nAttributes; i++) {
|
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 ||
|
if (outputAttributes[i].type == HSA_SVM_ATTR_ACCESS ||
|
||||||
outputAttributes[i].type == HSA_SVM_ATTR_ACCESS_IN_PLACE ||
|
outputAttributes[i].type == HSA_SVM_ATTR_ACCESS_IN_PLACE ||
|
||||||
outputAttributes[i].type == HSA_SVM_ATTR_NO_ACCESS)
|
outputAttributes[i].type == HSA_SVM_ATTR_NO_ACCESS)
|
||||||
|
|||||||
Reference in New Issue
Block a user