2
0

P4 to Git Change 1604468 by skudchad@skudchad_test2_win_opencl on 2018/09/11 18:28:45

SWDEV-145570 - [HIP] - Assert functionality for error != hipSuccess with LOG_LEVEL=3

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15793/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#8 edit
Este cometimento está contido em:
foreman
2018-09-11 18:34:50 -04:00
ascendente 86c038863b
cometimento e5783abc2b
+1
Ver ficheiro
@@ -78,6 +78,7 @@ extern amd::Memory* getMemoryObject(const void* ptr, size_t& offset);
#define HIP_RETURN(ret) \
hip::g_lastError = ret; \
DebugInfoGuarantee(hip::g_lastError == hipSuccess); \
return hip::g_lastError; \