Merge pull request #520 from ntrost57/master

added missing hipCmul() to nvcc_detail/hip_complex.h

[ROCm/clr commit: a24f1d7353]
此提交包含在:
Maneesh Gupta authored and GitHub committed 2018-06-19 09:37:50 +05:30
2 父節點 c1f37d4fb5 3eb353ec44
當前提交 5b20f2ee29
1 file changed
+4
+4
查看文件
@@ -83,6 +83,10 @@ __device__ __host__ static inline hipDoubleComplex hipCsub(hipDoubleComplex p, h
return cuCsub(p, q);
}
__device__ __host__ static inline hipDoubleComplex hipCmul(hipDoubleComplex p, hipDoubleComplex q) {
return cuCmul(p, q);
}
__device__ __host__ static inline hipDoubleComplex hipCdiv(hipDoubleComplex p, hipDoubleComplex q) {
return cuCdiv(p, q);
}