fixed header structure for complex data types

Change-Id: I16bf19005d933f42e8c8603c5d0b2df8ea3ad04f
Этот коммит содержится в:
Aditya Atluri
2017-04-06 16:43:26 -05:00
родитель ad18bf3b29
Коммит 0a07382d92
3 изменённых файлов: 3 добавлений и 4 удалений
+1 -2
Просмотреть файл
@@ -23,8 +23,7 @@ THE SOFTWARE.
#ifndef HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H
#define HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H
#include "./hip_fp16.h"
#include "./hip_vector_types.h"
#include "hip/hcc_detail/hip_vector_types.h"
#if __cplusplus
#define COMPLEX_ADD_OP_OVERLOAD(type) \
+1 -1
Просмотреть файл
@@ -23,7 +23,7 @@ THE SOFTWARE.
#ifndef HIP_INCLUDE_HIP_HCC_DETAIL_HIP_FP16_H
#define HIP_INCLUDE_HIP_HCC_DETAIL_HIP_FP16_H
#include "hip/hip_runtime.h"
#include "hip/hcc_detail/hip_vector_types.h"
#if __clang_major__ > 3
+1 -1
Просмотреть файл
@@ -32,7 +32,7 @@ THE SOFTWARE.
#error("This version of HIP requires a newer version of HCC.");
#endif
#include "host_defines.h"
#include "hip/hcc_detail/host_defines.h"
#define MAKE_DEFAULT_CONSTRUCTOR_ONE_COMPONENT(type) \
__device__ __host__ type() {} \