Add math function declaration for hip-clang
이 커밋은 다음에 포함됨:
1 부모
7042fe6067
커밋
f53e86e1b8
1 파일이 변경됨
+5
-1
@@ -514,7 +514,9 @@ extern void ihipPostLaunchKernel(const char* kernelName, hipStream_t stream, gri
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
//
|
||||
// hip-clang functions
|
||||
//
|
||||
#elif defined(__clang__) && defined(__HIP__)
|
||||
|
||||
#define HIP_KERNEL_NAME(...) __VA_ARGS__
|
||||
@@ -628,6 +630,8 @@ __DEVICE__ void inline __assert_fail(const char * __assertion,
|
||||
}
|
||||
#pragma push_macro("__DEVICE__")
|
||||
|
||||
#include <hip/hcc_detail/math_functions.h>
|
||||
|
||||
#endif
|
||||
|
||||
#endif // HIP_HCC_DETAIL_RUNTIME_H
|
||||
새 이슈에서 참조
사용자 차단