Prefix HIP includes with hip/

This commit is contained in:
Maneesh Gupta committed 2016-04-19 15:02:12 +05:30
1 parent a6da98eecb
commit c4cc76398c
10 files changed
+25 -25

No files matched your search

+3 -3
View File
@@ -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