37 #ifndef HIP_INCLUDE_HIP_HIP_RUNTIME_H
38 #define HIP_INCLUDE_HIP_HIP_RUNTIME_H
40 #if (__gfx1010__ || __gfx1011__ || __gfx1012__ || __gfx1030__ || __gfx1031__) && __AMDGCN_WAVEFRONT_SIZE == 64
41 #error HIP is not supported on GFX10 with wavefront size 64
52 #if __cplusplus > 199711L
56 #include <hip/hip_version.h>
57 #include <hip/hip_common.h>
59 #if defined(__HIP_PLATFORM_HCC__) && !defined(__HIP_PLATFORM_NVCC__)
61 #elif defined(__HIP_PLATFORM_NVCC__) && !defined(__HIP_PLATFORM_HCC__)
62 #include <hip/nvcc_detail/hip_runtime.h>
64 #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
68 #include <hip/hip_runtime_api.h>
69 #include <hip/hip_vector_types.h>
70 #include <hip/library_types.h>
Contains definitions of APIs for HIP runtime.