use only hip compiler to compile hip cooperative groups
SWDEV-252377 Change-Id: I6cf749dad2bf05c2e49fed495ab2833c574c2215
This commit is contained in:
committed by
Aryan Salmanpour
parent
93f5675015
commit
c197183818
@@ -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