Prefix HIP includes with hip/

[ROCm/hip commit: bc4f388b69]
此提交包含在:
Maneesh Gupta
2016-04-19 15:02:12 +05:30
父節點 3e6cd3795b
當前提交 b29742d6f8
共有 10 個檔案被更改,包括 25 行新增 和 25 行删除
+3 -3
查看文件
@@ -30,7 +30,7 @@ THE SOFTWARE.
#include <string.h> // for getDeviceProp
#include <hip_common.h>
#include <hip/hip_common.h>
typedef struct {
// 32-bit Atomics
@@ -200,9 +200,9 @@ typedef enum hipDeviceAttribute_t {
*/
#if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
#include "hcc_detail/hip_runtime_api.h"
#include "hip/hcc_detail/hip_runtime_api.h"
#elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__)
#include "nvcc_detail/hip_runtime_api.h"
#include "hip/nvcc_detail/hip_runtime_api.h"
#else
#error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
#endif