Added nvcc path for hipComplex APIs

- Changed from inline to static inline for hipComplex AMD APIs
- Added NVCC path for hipComplex APIs mapped to cuComplex APIs

Change-Id: I809cf3a11b5b1c8bbc7a57c5fbcc3dc6745ccb95


[ROCm/hip commit: 0806958a72]
Este commit está contenido en:
Aditya Atluri
2016-08-22 10:29:46 -05:00
padre 5a1cf6ccfd
commit 737fe67a25
Se han modificado 3 ficheros con 135 adiciones y 29 borrados
+1 -1
Ver fichero
@@ -24,7 +24,7 @@ THE SOFTWARE.
#if defined(__HIP_PLATFORM_HCC__) && !defined (__HIP_PLATFORM_NVCC__)
#include <hip/hcc_detail/hipComplex.h>
#elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__)
#include "cuComplex.h"
#include <hip/nvcc_detail/hipComplex.h>
#else
#error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__");
#endif