Change hipErrorUnknown to hipErrorInvalidValue

[ROCm/hip commit: 483aab031f]
这个提交包含在:
Rahul Garg 于 2019-07-31 00:28:30 +05:30 提交
1 父节点 9fbb45ba91
当前提交 0009dc1067
1 个文件已更改
+1 -1
+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);