Fix output of hipPointerGetAttributes

The output of hipPointerGetAttributes is fixed to match CUDA counterpart.

[ROCm/hip commit: b6e34a44b0]
此提交包含在:
Aditya Avinash Atluri committed 2016-03-03 13:58:18 -06:00
1 父節點 4811b38a15
當前提交 057bcc73f1
1 file changed
+2 -2
+2 -2
查看文件
@@ -1826,10 +1826,10 @@ hipError_t hipPointerGetAttributes(hipPointerAttribute_t *attributes, void* ptr)
attributes->isManaged = 0;
attributes->allocationFlags = 0;
e = hipErrorInvalidValue;
e = hipErrorUnknown;
}
#else
e = hipErrorInvalidValue;
e = hipErrorInvalidDevice;
#endif
return ihipLogStatus(e);