SWDEV-268757 - Disable deprecation warning

Disable it as it will fail rocgdb test

Change-Id: Ibf34c780d5bd4278adcedba1d6e057639c258483
This commit is contained in:
Tao Sang
2021-01-19 12:18:01 -05:00
committato da Tao Sang
parent 8cf28aa5b3
commit a0c8c30ae5
+3 -1
Vedi File
@@ -65,7 +65,8 @@ THE SOFTWARE.
#endif
// The following are deprecation notices.
// They will be removed after upstream updation.
// They will be removed after upstream updation
#if 0 // Temporarily disable deprecation warning as it will fail rocgdb test
#if defined(__clang__)
//The following work for clang rather than for gnu gcc/g++/c++
#pragma GCC diagnostic push
@@ -104,6 +105,7 @@ THE SOFTWARE.
#pragma message ("__HIP_PLATFORM_NVCC_ is deprecated, please use __HIP_PLATFORM_NVIDIA__ instead")
#endif
#endif // defined(__clang__)
#endif
#include <hip/hip_runtime_api.h>
#include <hip/hip_vector_types.h>