From 12e7f550b77587374b014cc6a0a95f639d72e62e Mon Sep 17 00:00:00 2001 From: Aditya Avinash Atluri Date: Thu, 3 Mar 2016 13:59:43 -0600 Subject: [PATCH] Update hip_hcc.cpp [ROCm/hip commit: 40eefc1cde1079c6615adbbf3ac2fcf1b26c4321] --- projects/hip/src/hip_hcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/src/hip_hcc.cpp b/projects/hip/src/hip_hcc.cpp index b6fbe5b383..897253c8c5 100644 --- a/projects/hip/src/hip_hcc.cpp +++ b/projects/hip/src/hip_hcc.cpp @@ -1829,7 +1829,7 @@ hipError_t hipPointerGetAttributes(hipPointerAttribute_t *attributes, void* ptr) e = hipErrorUnknown; } #else - e = hipErrorInvalidDevice; + e = hipErrorInvalidValue; #endif return ihipLogStatus(e);