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

Cleans up debug trace.


[ROCm/hip commit: 8209320ef0]
Этот коммит содержится в:
Ben Sander
2017-01-19 21:26:36 -06:00
родитель 584a4a10c1
Коммит b6c7c5bd8b
+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)