added guard against hip_runtime.h so that non-hcc compilers can use it
Change-Id: I3d68deda9ce8a5956e21e15a69e549d6c21e3e39
[ROCm/hip commit: a38e36ec2f]
이 커밋은 다음에 포함됨:
@@ -41,6 +41,8 @@ THE SOFTWARE.
|
||||
#include <stddef.h>
|
||||
#endif//__cplusplus
|
||||
|
||||
#if __HCC__
|
||||
|
||||
// Define NVCC_COMPAT for CUDA compatibility
|
||||
#define NVCC_COMPAT
|
||||
#define CUDA_SUCCESS hipSuccess
|
||||
@@ -481,6 +483,6 @@ do {\
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#endif//HIP_HCC_DETAIL_RUNTIME_H
|
||||
|
||||
새 이슈에서 참조
사용자 차단