Commit e0d0c8af authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Move to format used everywhere else for comments

parent 18416866
......@@ -66,7 +66,7 @@ static void cl_dzasum_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &storev, &uplo, &M, &N, &lda);
CORE_dzasum(storev, uplo, M, N, A, lda, work);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -65,7 +65,7 @@ static void cl_zaxpy_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &M, &alpha, &incA, &incB);
CORE_zaxpy(M, alpha, A, incA, B, incB);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -86,7 +86,7 @@ static void cl_zbuild_cpu_func(void *descr[], void *cl_arg)
user_build_callback(row_min, row_max, col_min, col_max, A, ld, user_data);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -131,7 +131,7 @@ static void cl_zgeadd_cpu_func(void *descr[], void *cl_arg)
CORE_zgeadd(trans, M, N, alpha, A, LDA, beta, B, LDB);
return;
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -149,7 +149,7 @@ static void cl_zgelqt_cpu_func(void *descr[], void *cl_arg)
WORK = TAU + max( m, n );
CORE_zgelqt(m, n, ib, A, lda, T, ldt, TAU, WORK);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
#if defined(CHAMELEON_USE_MAGMA)
#if !defined(CHAMELEON_SIMULATION)
......@@ -194,8 +194,8 @@ static void cl_zgelqt_cuda_func(void *descr[], void *cl_arg)
cudaThreadSynchronize();
}
#endif //defined(CHAMELEON_USE_MAGMA)
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* defined(CHAMELEON_USE_MAGMA) */
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -54,7 +54,7 @@ void MORSE_TASK_zgemm(const MORSE_option_t *options,
int rank_changed=0;
(void)execution_rank;
// force execution on the rank owning the largest data (tile)
/* force execution on the rank owning the largest data (tile) */
int threshold;
char* env = getenv("MORSE_COMM_FACTOR_THRESHOLD");
......@@ -211,7 +211,7 @@ static void cl_zgemm_cuda_func(void *descr[], void *cl_arg)
}
#endif /* CHAMELEON_USE_CUBLAS_V2 */
#endif /* CHAMELEON_USE_CUDA */
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -195,8 +195,8 @@ static void cl_zgeqrt_cuda_func(void *descr[], void *cl_arg)
cudaThreadSynchronize();
}
#endif //defined(CHAMELEON_USE_MAGMA)
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* defined(CHAMELEON_USE_MAGMA) */
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -161,8 +161,8 @@ static void cl_zgessm_cuda_func(void *descr[], void *cl_arg)
return;
}
#endif //defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU)
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU) */
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -63,7 +63,7 @@ static void cl_zgessq_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &m, &n, &lda);
CORE_zgessq( m, n, A, lda, &SCALESUMSQ[0], &SCALESUMSQ[1] );
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -74,7 +74,7 @@ static void cl_zgetrf_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &m, &n, &lda, &IPIV, &check_info, &iinfo);
CORE_zgetrf( m, n, A, lda, IPIV, &info );
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -227,8 +227,8 @@ static void cl_zgetrf_incpiv_cuda_func(void *descr[], void *cl_arg)
cudaThreadSynchronize();
}
#endif //defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU)
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* defined(CHAMELEON_USE_MAGMA) && defined(HAVE_MAGMA_GETRF_INCPIV_GPU) */
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
......
......@@ -141,7 +141,7 @@ static void cl_zgetrf_nopiv_cuda_func(void *descr[], void *cl_arg)
cudaThreadSynchronize();
}
#endif
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -181,7 +181,7 @@ static void cl_zhemm_cuda_func(void *descr[], void *cl_arg)
}
#endif /* CHAMELEON_USE_CUBLAS_V2 */
#endif /* CHAMELEON_USE_CUDA */
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -169,7 +169,7 @@ static void cl_zher2k_cuda_func(void *descr[], void *cl_arg)
}
#endif /* CHAMELEON_USE_CUBLAS_V2 */
#endif /* CHAMELEON_USE_CUDA */
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -166,7 +166,7 @@ static void cl_zherk_cuda_func(void *descr[], void *cl_arg)
}
#endif /* CHAMELEON_USE_CUBLAS_V2 */
#endif /* CHAMELEON_USE_CUDA */
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -63,7 +63,7 @@ static void cl_zhessq_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &uplo, &n, &lda);
CORE_zhessq( uplo, n, A, lda, &SCALESUMSQ[0], &SCALESUMSQ[1] );
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -82,7 +82,7 @@ static void cl_zlacpy_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &uplo, &M, &N, &LDA, &LDB);
CORE_zlacpy(uplo, M, N, A, LDA, B, LDB);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -76,7 +76,7 @@ static void cl_zlag2c_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &m, &n, &lda, &ldb);
CORE_zlag2c( m, n, A, lda, B, ldb);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
void MORSE_TASK_clag2z(const MORSE_option_t *options,
int m, int n, int nb,
......@@ -120,7 +120,7 @@ static void cl_clag2z_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &m, &n, &lda, &ldb);
CORE_clag2z( m, n, A, lda, B, ldb);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -71,7 +71,7 @@ static void cl_zlange_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &norm, &M, &N, &LDA);
CORE_zlange( norm, M, N, A, LDA, work, normA);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......@@ -107,7 +107,7 @@ static void cl_zlange_max_cpu_func(void *descr[], void *cl_arg)
if ( *A > *normA )
*normA = *A;
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
......@@ -69,7 +69,7 @@ static void cl_zlanhe_cpu_func(void *descr[], void *cl_arg)
starpu_codelet_unpack_args(cl_arg, &norm, &uplo, &N, &LDA);
CORE_zlanhe( norm, uplo, N, A, LDA, work, normA);
}
#endif //!defined(CHAMELEON_SIMULATION)
#endif /* !defined(CHAMELEON_SIMULATION) */
/*
* Codelet definition
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment