From 7a992b9fc328e90e758b1d46fbc7c5f86ab749c1 Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Thu, 19 Jan 2017 21:26:36 -0600 Subject: [PATCH] Change ihipDeviceSetState,ihipDevice* so it doesn't log error Cleans up debug trace. [ROCm/clr commit: 6de88d429387eef7cb34fafce02c66b97f82622c] --- projects/clr/hipamd/src/hip_device.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/clr/hipamd/src/hip_device.cpp b/projects/clr/hipamd/src/hip_device.cpp index 131526b6e2..5139eba0af 100644 --- a/projects/clr/hipamd/src/hip_device.cpp +++ b/projects/clr/hipamd/src/hip_device.cpp @@ -189,7 +189,7 @@ hipError_t ihipDeviceSetState(void) e = hipSuccess; } - return ihipLogStatus(e); + return e; } @@ -261,7 +261,7 @@ hipError_t ihipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device } else { e = hipErrorInvalidDevice; } - return ihipLogStatus(e); + return e; } hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device) @@ -287,7 +287,7 @@ hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, int device) e = hipErrorInvalidDevice; } - return ihipLogStatus(e); + return e; } hipError_t hipGetDeviceProperties(hipDeviceProp_t* props, int device)