Fix mathlib and app builds with hip-clang. (#1665)

This commit is contained in:
mhbliao
2019-11-18 11:18:20 -05:00
committed by Rahul Garg
parent ff31f734fe
commit a45de95113
+2 -2
View File
@@ -109,7 +109,7 @@ hipError_t hipHccModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
hipEvent_t stopEvent = nullptr)
__attribute__((deprecated("use hipExtModuleLaunchKernel instead")));
#ifdef __cplusplus
#if !__HIP_VDI__ && defined(__cplusplus)
namespace hip_impl {
inline
@@ -161,7 +161,7 @@ void hipExtLaunchKernelGGL(F kernel, const dim3& numBlocks,
stream, startEvent, stopEvent, flags,
&config[0]);
}
#endif
#endif // !__HIP_VDI__ && defined(__cplusplus)
// doxygen end AMD-specific features
/**