From 0009dc1067da0825ba7df2d6ff440183df83b0ea 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/hip commit: 483aab031faf02c4888b8f32829c265820745fad] --- projects/hip/src/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/src/hip_memory.cpp b/projects/hip/src/hip_memory.cpp index 2355772fd6..99ea4b5b24 100644 --- a/projects/hip/src/hip_memory.cpp +++ b/projects/hip/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);