Do not include cuda wappers for OMP for hip-clang (#1382)

이 커밋은 다음에 포함됨:
Yaxun (Sam) Liu 작성하고 Maneesh Gupta가 2019-09-03 05:13:59 +00:00를 커밋함
1 부모 6545521d6c
커밋 8fe8fc18c0
1 파일이 변경됨
+2
+2
파일 보기
@@ -447,6 +447,7 @@ hc_get_workitem_absolute_id(int dim)
#endif
// Support std::complex.
#ifndef _OPENMP
#pragma push_macro("__CUDA__")
#define __CUDA__
#include <__clang_cuda_math_forward_declares.h>
@@ -456,6 +457,7 @@ hc_get_workitem_absolute_id(int dim)
#include <cuda_wrappers/new>
#undef __CUDA__
#pragma pop_macro("__CUDA__")
#endif // ndef _OPENMP
#if __HIP_VDI__
hipError_t hipExtModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,