Doc and test updates.

Change-Id: I44cbd2c0de7cb692d0194d1bb8b8ae25c58d4e00
This commit is contained in:
Ben Sander
2016-09-02 09:38:42 -05:00
parent 0923c2d261
commit 84b14aa9d6
6 changed files with 29 additions and 12 deletions
+2 -1
View File
@@ -68,8 +68,9 @@ THE SOFTWARE.
{\
hipError_t localError = error; \
if (localError != hipSuccess) { \
printf("%serror: '%s'(%d) at %s:%d%s\n", \
printf("%serror: '%s'(%d) from %s at %s:%d%s\n", \
KRED,hipGetErrorString(localError), localError,\
#error,\
__FILE__, __LINE__,KNRM); \
failed("API returned error code.");\
}\