use only hip compiler to compile hip cooperative groups

SWDEV-252377

Change-Id: I6cf749dad2bf05c2e49fed495ab2833c574c2215
This commit is contained in:
Aryan Salmanpour
2020-09-21 14:26:36 -04:00
committed by Aryan Salmanpour
parent 93f5675015
commit c197183818
+1 -1
View File
@@ -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__)