diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 538cc6cc99eed1ae991fed6af9ba18f235c2e095..64baacbcab27622334cd26a2bf1adc09332e3852 100755 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -17,6 +17,7 @@ # Univ. of California Berkeley, # Univ. of Colorado Denver. # +# @version 1.0.0 # @date 2014-10-17 # ### diff --git a/example/lapack_to_chameleon/lapack_to_chameleon.h b/example/lapack_to_chameleon/lapack_to_chameleon.h index dc085b948df56bb91376532f7cd1bde7551fa174..43b6352310118b58760ee7cf5af0d72eb68a6782 100644 --- a/example/lapack_to_chameleon/lapack_to_chameleon.h +++ b/example/lapack_to_chameleon/lapack_to_chameleon.h @@ -16,8 +16,8 @@ * @date 2014-10-29 * */ -#ifndef LAPACK_TO_CHAMELEON_H -#define LAPACK_TO_CHAMELEON_H +#ifndef _lapack_to_chameleon_h_ +#define _lapack_to_chameleon_h_ #if defined( _WIN32 ) || defined( _WIN64 ) #define int64_t __int64 @@ -66,4 +66,4 @@ static int startswith(const char *s, const char *prefix) { /* define some tools to time the program */ #include <chameleon/timer.h> -#endif /* LAPACK_TO_CHAMELEON_H */ +#endif /* _lapack_to_chameleon_h_ */ diff --git a/example/lapack_to_chameleon/step0.c b/example/lapack_to_chameleon/step0.c index ecf7d076fe9f7b368cf135286a6ce74f00e0828f..e2da77da14fc09a4c33563fa9b92ea68357248bb 100644 --- a/example/lapack_to_chameleon/step0.c +++ b/example/lapack_to_chameleon/step0.c @@ -4,7 +4,7 @@ * * @copyright 2009-2014 The University of Tennessee and The University of * Tennessee Research Foundation. All rights reserved. - * @copyright 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, + * @copyright 2012-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, * Univ. Bordeaux. All rights reserved. * *** diff --git a/example/lapack_to_chameleon/step0.h b/example/lapack_to_chameleon/step0.h index 7a7812dc2c40af52fbf0fc6018dd1cb95ab3868e..4d22f78936344388fef3cd094be71afeecbed630 100644 --- a/example/lapack_to_chameleon/step0.h +++ b/example/lapack_to_chameleon/step0.h @@ -16,8 +16,8 @@ * @date 2014-10-29 * */ -#ifndef STEP0_H -#define STEP0_H +#ifndef _step0_h_ +#define _step0_h_ /* Common include for all steps of the tutorial */ #include "lapack_to_chameleon.h" @@ -242,4 +242,4 @@ static void CORE_dplrnt( int m, int n, double *A, int lda, } } -#endif /* STEP0_H */ +#endif /* _step0_h_ */ diff --git a/example/lapack_to_chameleon/step1.h b/example/lapack_to_chameleon/step1.h index 1f13f810e549a14a82df95024a77366f1c16d6aa..92673eb0ab4d4615aca2590d42e1db2e0efd32f7 100644 --- a/example/lapack_to_chameleon/step1.h +++ b/example/lapack_to_chameleon/step1.h @@ -16,8 +16,8 @@ * @date 2014-10-29 * */ -#ifndef STEP1_H -#define STEP1_H +#ifndef _step1_h_ +#define _step1_h_ /* Common include for all steps of the tutorial */ #include "lapack_to_chameleon.h" @@ -119,4 +119,4 @@ static void print_header(char *prog_name, int * iparam) { return; } -#endif /* STEP1_H */ +#endif /* _step1_h_ */ diff --git a/example/lapack_to_chameleon/step2.h b/example/lapack_to_chameleon/step2.h index 990c078910557b0599037bc02ed2463a2696f264..383355257cf854aa4f2cd713ad13d31d07d096f4 100644 --- a/example/lapack_to_chameleon/step2.h +++ b/example/lapack_to_chameleon/step2.h @@ -16,8 +16,8 @@ * @date 2014-10-29 * */ -#ifndef STEP2_H -#define STEP2_H +#ifndef _step2_h_ +#define _step2_h_ /* Common include for all steps of the tutorial */ #include "lapack_to_chameleon.h" @@ -119,4 +119,4 @@ static void print_header(char *prog_name, int * iparam) { return; } -#endif /* STEP2_H */ +#endif /* _step2_h_ */ diff --git a/example/lapack_to_chameleon/step3.h b/example/lapack_to_chameleon/step3.h index b0862e332046b5f5d857a9f699b5a762a75f1b31..edc2385a87688f336e04a50cf0fc9790f257b4e5 100644 --- a/example/lapack_to_chameleon/step3.h +++ b/example/lapack_to_chameleon/step3.h @@ -16,8 +16,8 @@ * @date 2014-10-29 * */ -#ifndef STEP3_H -#define STEP3_H +#ifndef _step3_h_ +#define _step3_h_ /* Common include for all steps of the tutorial */ #include "lapack_to_chameleon.h" @@ -197,4 +197,4 @@ inline static int user_getrankof_zero(const CHAM_desc_t *A, int m, int n) return 0; } -#endif /* STEP3_H */ +#endif /* _step3_h_ */ diff --git a/example/lapack_to_chameleon/step4.h b/example/lapack_to_chameleon/step4.h index 8aed88b04e2b0163c8ea88e370f265ae161a3f2f..eab5928cabd481d95d114479a53e608482cc60e5 100644 --- a/example/lapack_to_chameleon/step4.h +++ b/example/lapack_to_chameleon/step4.h @@ -16,8 +16,8 @@ * @date 2014-10-29 * */ -#ifndef STEP4_H -#define STEP4_H +#ifndef _step4_h_ +#define _step4_h_ /* Common include for all steps of the tutorial */ #include "lapack_to_chameleon.h" @@ -119,4 +119,4 @@ static void print_header(char *prog_name, int * iparam) { return; } -#endif /* STEP4_H */ +#endif /* _step4_h_ */ diff --git a/example/lapack_to_chameleon/step5.h b/example/lapack_to_chameleon/step5.h index d1bcbeafd7d04c1a52a13d8a3f17c19c1bcdad23..ab38168664495bd0cc15df4d4d41eb9f5044e598 100644 --- a/example/lapack_to_chameleon/step5.h +++ b/example/lapack_to_chameleon/step5.h @@ -16,8 +16,8 @@ * @date 2014-10-29 * */ -#ifndef STEP5_H -#define STEP5_H +#ifndef _step5_h_ +#define _step5_h_ /* Common include for all steps of the tutorial */ #include "lapack_to_chameleon.h" @@ -134,4 +134,4 @@ static void print_header(char *prog_name, int * iparam) { return; } -#endif /* STEP5_H */ +#endif /* _step5_h_ */ diff --git a/example/lapack_to_chameleon/step6.h b/example/lapack_to_chameleon/step6.h index f52830d97f2f39c866d1494ec887488d4742cfc2..3893a87ab35d0777df5110ab578e61f8175ebfa4 100644 --- a/example/lapack_to_chameleon/step6.h +++ b/example/lapack_to_chameleon/step6.h @@ -16,8 +16,8 @@ * @date 2014-10-29 * */ -#ifndef STEP6_H -#define STEP6_H +#ifndef _step6_h_ +#define _step6_h_ /* Common include for all steps of the tutorial */ #include "lapack_to_chameleon.h" @@ -150,4 +150,4 @@ static void print_header(char *prog_name, int * iparam) { return; } -#endif /* STEP6_H */ +#endif /* _step6_h_ */ diff --git a/example/lapack_to_chameleon/step7.h b/example/lapack_to_chameleon/step7.h index cd79e06dbb4135427d91b78cbab4a3cd3e682e08..7515ec8b5715898c66739083ee774baea06bfc78 100644 --- a/example/lapack_to_chameleon/step7.h +++ b/example/lapack_to_chameleon/step7.h @@ -17,8 +17,8 @@ * @date 2016-09-05 * */ -#ifndef step7_H -#define step7_H +#ifndef _step7_h_ +#define _step7_h_ /* Common include for all steps of the tutorial */ #include "lapack_to_chameleon.h" @@ -177,4 +177,4 @@ static void print_header(char *prog_name, int * iparam) { return; } -#endif /* step7_H */ +#endif /* _step7_h_ */ diff --git a/example/link_chameleon/CMakeLists.txt b/example/link_chameleon/CMakeLists.txt index 13d1acd447a8f085db8a7d5d27659749679088ab..cbf4381eb13d417b922b2098b97d1ea0fc48d048 100644 --- a/example/link_chameleon/CMakeLists.txt +++ b/example/link_chameleon/CMakeLists.txt @@ -1,5 +1,26 @@ -### Main CMakeLists.txt for project link_chameleon - +### +# +# @file CMakeLists.txt +# +# @copyright 2009-2014 The University of Tennessee and The University of +# Tennessee Research Foundation. All rights reserved. +# @copyright 2012-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, +# Univ. Bordeaux. All rights reserved. +# +### +# +# @project CHAMELEON +# CHAMELEON is a software package provided by: +# Inria Bordeaux - Sud-Ouest, +# Univ. of Tennessee, +# King Abdullah Univesity of Science and Technology +# Univ. of California Berkeley, +# Univ. of Colorado Denver. +# +# @version 1.0.0 +# @date 2014-10-17 +# +### cmake_minimum_required(VERSION 2.8) project(LINK_CHAMELEON Fortran C CXX) diff --git a/example/link_chameleon/link_chameleon.c b/example/link_chameleon/link_chameleon.c index b828331f90686680873e20f3ae51695caedcdb44..ff20e16a0c007e46436f202c66754a6921010e5b 100644 --- a/example/link_chameleon/link_chameleon.c +++ b/example/link_chameleon/link_chameleon.c @@ -1,3 +1,21 @@ +/** + * + * @file link_chameleon.c + * + * @copyright 2009-2014 The University of Tennessee and The University of + * Tennessee Research Foundation. All rights reserved. + * @copyright 2012-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, + * Univ. Bordeaux. All rights reserved. + * + *** + * + * @brief Chameleon link_chameleon example + * + * @version 1.0.0 + * @author Florent Pruvost + * @date 2014-10-29 + * + */ #include <math.h> #include <stdio.h> #include <stdlib.h> diff --git a/example/link_chameleon/link_chameleon.f90 b/example/link_chameleon/link_chameleon.f90 index 2a5722ceda8725e7e3b8ded3fef798cfaf9e5ca1..e58eaf9da0c378df249a1888ad1118ec47844d27 100644 --- a/example/link_chameleon/link_chameleon.f90 +++ b/example/link_chameleon/link_chameleon.f90 @@ -1,4 +1,17 @@ - +!!! +! +! @file link_chameleon.f90 +! +! CHAMELEON Fortran 90 interfaces using Fortran 2003 ISO C bindings +! CHAMELEON is a software package provided by Univ. of Tennessee, +! Univ. of California Berkeley and Univ. of Colorado Denver +! +! @copyright 2012-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, +! Univ. Bordeaux. All rights reserved. +! +! @version 1.0.0 +! @author Florent Pruvost +! @date 2011-09-15 program fortran_example implicit none include 'chameleon_fortran.h' diff --git a/example/out_of_core/out_of_core.h b/example/out_of_core/out_of_core.h index d86f9c1323f2df36d7057c002c382127ffdba030..c9bcea306b9b9be3c00cedd106f56f097fa283cd 100644 --- a/example/out_of_core/out_of_core.h +++ b/example/out_of_core/out_of_core.h @@ -16,8 +16,8 @@ * @date 2016-08-23 * */ -#ifndef OOC_H -#define OOC_H +#ifndef _out_of_core_h_ +#define _out_of_core_h_ #include <math.h> #include <stdio.h> @@ -193,4 +193,4 @@ print_o_direct_wont_work(void) { "multiples of 4096. Tip : chose 'n' and 'nb' as both multiples of 32.\n"); } -#endif /* OOC_H */ +#endif /* _out_of_core_h_ */