use only hip compiler to compile hip cooperative groups
SWDEV-252377
Change-Id: I6cf749dad2bf05c2e49fed495ab2833c574c2215
[ROCm/hip commit: 5831687985]
Tá an tiomantas seo le fáil i:
tiomanta ag
Aryan Salmanpour
tuismitheoir
6455785b92
tiomantas
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__)
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir