adf865621c35919e8168c4efebc8df2c280ae6a1
SWDEV-198556 - [HIP] Gnarly bug due to macros: HIP_RETURN(ret) duplicates ret twice first by setting the last error then via LogDebugInfo. So if HIP_RETURN has a function as a parameter, the function would get called twice. So ihipMalloc and ihipMemcpy were being called twice (and perhaps more functions). Also logging the pointer returned by ihipMalloc so we can track memory in logs more easily. Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#33 edit ... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#65 edit
Опис
Немає опису
Мови
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Інші
1.1%