Not using classes inside headers
이 커밋은 다음에 포함됨:
1 부모
40cc748678
커밋
f01810183b
3 파일이 변경됨
+32
-4
검색과 일치하는 파일 없음
@@ -215,9 +215,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
typedef class ihipStream_t* hipStream_t;
|
||||
typedef struct hipEvent_t {
|
||||
struct ihipEvent_t *_handle;
|
||||
} hipEvent_t;
|
||||
//typedef struct hipEvent_t {
|
||||
// struct ihipEvent_t *_handle;
|
||||
//} hipEvent_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ THE SOFTWARE.
|
||||
|
||||
#include <hcc_detail/host_defines.h>
|
||||
#include <hip_runtime_api.h>
|
||||
#include "hip_hcc.h"
|
||||
//#include "hip_hcc.h"
|
||||
|
||||
#if defined (__HCC__) && (__hcc_workweek__ < 16074)
|
||||
#error("This version of HIP requires a newer version of HCC.");
|
||||
@@ -42,6 +42,12 @@ THE SOFTWARE.
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct ihipStream_t *hipStream_t;
|
||||
typedef struct hipEvent_t {
|
||||
struct ihipEvent_t *_handle;
|
||||
} hipEvent_t;
|
||||
|
||||
|
||||
/**
|
||||
* @addtogroup GlobalDefs More
|
||||
* @{
|
||||
|
||||
새 이슈에서 참조
사용자 차단