use only hip compiler to compile hip cooperative groups
SWDEV-252377 Change-Id: I6cf749dad2bf05c2e49fed495ab2833c574c2215
Этот коммит содержится в:
1 родитель
93f5675015
Коммит
c197183818
1 file changed
+1
-1
@@ -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__)
|
||||
|
||||
Reference in new issue
Block a user