Change hipErrorUnknown to hipErrorInvalidValue
[ROCm/hip commit: 483aab031f]
This commit is contained in:
1 szülő
9fbb45ba91
commit
0009dc1067
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user