30 #ifndef HIP_INCLUDE_HIP_HIP_COOPERATIVE_GROUP_H
31 #define HIP_INCLUDE_HIP_HIP_COOPERATIVE_GROUP_H
33 #include <hip/hip_version.h>
34 #include <hip/hip_common.h>
36 #if defined(__HIP_PLATFORM_HCC__) && !defined(__HIP_PLATFORM_NVCC__)
37 #if __cplusplus && defined(__clang__) && defined(__HIP__)
40 #elif defined(__HIP_PLATFORM_NVCC__) && !defined(__HIP_PLATFORM_HCC__)
41 #include <hip/nvcc_detail/hip_cooperative_groups.h>
43 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
46 #endif // HIP_INCLUDE_HIP_HIP_COOPERATIVE_GROUP_H
Device side implementation of Cooperative Group feature.