use only hip compiler to compile hip cooperative groups

SWDEV-252377

Change-Id: I6cf749dad2bf05c2e49fed495ab2833c574c2215


[ROCm/hip commit: 5831687985]
This commit is contained in:
Aryan Salmanpour
2020-09-21 14:26:36 -04:00
committad av Aryan Salmanpour
förälder 6455785b92
incheckning d4e674170d
@@ -31,7 +31,7 @@ THE SOFTWARE.
#define HIP_INCLUDE_HIP_HIP_COOPERATIVE_GROUP_H
#if defined(__HIP_PLATFORM_HCC__) && !defined(__HIP_PLATFORM_NVCC__)
#if __cplusplus
#if __cplusplus && defined(__clang__) && defined(__HIP__)
#include <hip/hcc_detail/hip_cooperative_groups.h>
#endif
#elif defined(__HIP_PLATFORM_NVCC__) && !defined(__HIP_PLATFORM_HCC__)