Merge pull request #520 from ntrost57/master

added missing hipCmul() to nvcc_detail/hip_complex.h

[ROCm/hip commit: 523e7fd9b2]
这个提交包含在:
Maneesh Gupta 编写, GitHub 于 2018-06-19 09:37:50 +05:30 提交
2 父节点 411414acc5 494d34f4ee
当前提交 3475fe6efa
1 个文件已更改
+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);
}