Change hipErrorUnknown to hipErrorInvalidValue

[ROCm/clr commit: 1c49943ac3]
This commit is contained in:
Rahul Garg
2019-07-31 00:28:30 +05:30
parent 189e6b5d44
commit 7a21d085ad
+1 -1
View File
@@ -198,7 +198,7 @@ hipError_t hipPointerGetAttributes(hipPointerAttribute_t* attributes, const void
attributes->isManaged = 0;
attributes->allocationFlags = 0;
e = hipErrorUnknown; // TODO - should be hipErrorInvalidValue ?
e = hipErrorInvalidValue;
}
}
return ihipLogStatus(e);