Remove hip-hcc codes: Part three

1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/

2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/

3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__

4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__

After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.

Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce


[ROCm/hip commit: c2adc70d4d]
Este commit está contenido en:
Tao Sang
2020-12-15 17:38:08 -05:00
cometido por Tao Sang
padre 409a10d21f
commit c618b6aeff
Se han modificado 159 ficheros con 411 adiciones y 4485 borrados
@@ -66,7 +66,7 @@ __host__ void single_precision_math_functions() {
expm1f(0.0f);
fabsf(1.0f);
fdimf(1.0f, 0.0f);
#if defined(__HIP_PLATFORM_HCC__)
#if defined(__HIP_PLATFORM_AMD__)
// fdividef(0.0f, 1.0f);
#endif
floorf(0.0f);
@@ -100,7 +100,7 @@ __host__ void single_precision_math_functions() {
nanf("1");
nearbyintf(0.0f);
// nextafterf(0.0f);
#if defined(__HIP_PLATFORM_HCC__)
#if defined(__HIP_PLATFORM_AMD__)
// norm3df(1.0f, 0.0f, 0.0f);
// norm4df(1.0f, 0.0f, 0.0f, 0.0f);
#endif
@@ -111,11 +111,11 @@ __host__ void single_precision_math_functions() {
// rcbrtf(1.0f);
remainderf(2.0f, 1.0f);
remquof(1.0f, 2.0f, &iX);
#if defined(__HIP_PLATFORM_HCC__)
#if defined(__HIP_PLATFORM_AMD__)
// rhypotf(0.0f, 1.0f);
#endif
rintf(1.0f);
#if defined(__HIP_PLATFORM_HCC__)
#if defined(__HIP_PLATFORM_AMD__)
// rnorm3df(0.0f, 0.0f, 1.0f);
// rnorm4df(0.0f, 0.0f, 0.0f, 1.0f);
fX = 1.0f; // rnormf(1, &fX);