Not using classes inside headers

Este cometimento está contido em:
Aditya Atluri cometeu 2016-03-29 02:27:51 -05:00
1 ascendente 40cc748678
cometimento f01810183b
3 ficheiros modificados
+32 -4

Não existem ficheiros que correspondam à sua pesquisa

+3 -3
Ver ficheiro
@@ -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
}
+7 -1
Ver ficheiro
@@ -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
* @{