fixed header structure for complex data types
Change-Id: I16bf19005d933f42e8c8603c5d0b2df8ea3ad04f
[ROCm/clr commit: 1358bd8f07]
This commit is contained in:
@@ -23,8 +23,7 @@ THE SOFTWARE.
|
|||||||
#ifndef HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H
|
#ifndef HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H
|
||||||
#define HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H
|
#define HIP_INCLUDE_HIP_HCC_DETAIL_HIP_COMPLEX_H
|
||||||
|
|
||||||
#include "./hip_fp16.h"
|
#include "hip/hcc_detail/hip_vector_types.h"
|
||||||
#include "./hip_vector_types.h"
|
|
||||||
|
|
||||||
#if __cplusplus
|
#if __cplusplus
|
||||||
#define COMPLEX_ADD_OP_OVERLOAD(type) \
|
#define COMPLEX_ADD_OP_OVERLOAD(type) \
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ THE SOFTWARE.
|
|||||||
#ifndef HIP_INCLUDE_HIP_HCC_DETAIL_HIP_FP16_H
|
#ifndef HIP_INCLUDE_HIP_HCC_DETAIL_HIP_FP16_H
|
||||||
#define 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
|
#if __clang_major__ > 3
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ THE SOFTWARE.
|
|||||||
#error("This version of HIP requires a newer version of HCC.");
|
#error("This version of HIP requires a newer version of HCC.");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "host_defines.h"
|
#include "hip/hcc_detail/host_defines.h"
|
||||||
|
|
||||||
#define MAKE_DEFAULT_CONSTRUCTOR_ONE_COMPONENT(type) \
|
#define MAKE_DEFAULT_CONSTRUCTOR_ONE_COMPONENT(type) \
|
||||||
__device__ __host__ type() {} \
|
__device__ __host__ type() {} \
|
||||||
|
|||||||
Reference in New Issue
Block a user