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
[ROCm/clr commit: e5783abc2b]
Esse commit está contido em:
@@ -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; \
|
||||
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário