From 7a21d085ad2eb9eb67ef3781048d0b88871e38b3 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 31 Jul 2019 00:28:30 +0530 Subject: [PATCH] Change hipErrorUnknown to hipErrorInvalidValue [ROCm/clr commit: 1c49943ac38b02e49772beeeac32b9234e574011] --- projects/clr/hipamd/src/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/src/hip_memory.cpp b/projects/clr/hipamd/src/hip_memory.cpp index 2355772fd6..99ea4b5b24 100644 --- a/projects/clr/hipamd/src/hip_memory.cpp +++ b/projects/clr/hipamd/src/hip_memory.cpp @@ -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);