SWDEV-415029 - [ABI Break] Remove hcc symbols

This reverts commit 0bf6186614.

Reason for revert: Bring back original change

Change-Id: I9326076d0f6006573bf995784292f64f6d6e03a0
This commit is contained in:
Rahul Garg
2023-10-13 20:08:54 -04:00
committed by Rakesh Roy
parent 504e670d73
commit 5baee1fd78
20 changed files with 36 additions and 112 deletions
+2 -2
View File
@@ -31,9 +31,9 @@ THE SOFTWARE.
#include <hip/hip_common.h>
#endif
#if (defined(__HIP_PLATFORM_HCC__) || defined(__HIP_PLATFORM_AMD__)) && !(defined(__HIP_PLATFORM_NVCC__) || defined(__HIP_PLATFORM_NVIDIA__))
#if defined(__HIP_PLATFORM_AMD__) && !defined(__HIP_PLATFORM_NVIDIA__)
#include <hip/amd_detail/amd_math_functions.h>
#elif !(defined(__HIP_PLATFORM_HCC__) || defined(__HIP_PLATFORM_AMD__)) && (defined(__HIP_PLATFORM_NVCC__) || defined(__HIP_PLATFORM_NVIDIA__))
#elif !defined(__HIP_PLATFORM_AMD__) && defined(__HIP_PLATFORM_NVIDIA__)
//#include <hip/nvidia_detail/math_functions.h>
#else
#error("Must define exactly one of __HIP_PLATFORM_AMD__ or __HIP_PLATFORM_NVIDIA__");