Apply clang-format to the whole source tree

This commit is contained in:
Carles Fernandez
2018-03-04 02:04:27 +01:00
parent 41571db894
commit 07b25ebb06
383 changed files with 8704 additions and 8229 deletions
@@ -76,9 +76,9 @@ struct GPU_Complex
}
CUDA_CALLABLE_MEMBER_DEVICE void multiply_acc(const GPU_Complex& a, const GPU_Complex& b)
{
//c=a*b+c
//real part
//c.r=(a.r*b.r - a.i*b.i)+c.r
//c=a*b+c
//real part
//c.r=(a.r*b.r - a.i*b.i)+c.r
#ifdef __CUDACC__
r = __fmaf_rn(a.r, b.r, r);
r = __fmaf_rn(-a.i, b.i, r);