From 40eefc1cde1079c6615adbbf3ac2fcf1b26c4321 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 --- src/hip_hcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hip_hcc.cpp b/src/hip_hcc.cpp index b6fbe5b383..897253c8c5 100644 --- a/src/hip_hcc.cpp +++ b/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);