@@ -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
|
||||
|
||||
新增問題並參考
封鎖使用者