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

Cleans up debug trace.
这个提交包含在:
Ben Sander 于 2017-01-19 23:55:24 -06:00 提交
1 父节点 fe5f45caaf
当前提交 6de88d4293
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)