Change ihipDeviceSetState,ihipDevice* so it doesn't log error

Cleans up debug trace.


[ROCm/clr commit: 6de88d4293]
이 커밋은 다음에 포함됨:
Ben Sander가 2017-01-19 23:55:24 -06:00를 커밋했습니다
1 부모 c50f5cbd2c
커밋 7a992b9fc3
1 파일이 변경됨
+3 -3
+3 -3
파일 보기
@@ -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)