Commit 6c0ac13b authored by PRUVOST Florent's avatar PRUVOST Florent Committed by Mathieu Faverge
Browse files

fix headers in examples

parent 5cc615c2
......@@ -17,6 +17,7 @@
# Univ. of California Berkeley,
# Univ. of Colorado Denver.
#
# @version 1.0.0
# @date 2014-10-17
#
###
......
......@@ -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_ */
......@@ -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.
*
***
......
......@@ -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_ */
......@@ -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_ */
......@@ -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_ */
......@@ -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_ */
......@@ -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_ */
......@@ -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_ */
......@@ -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_ */
......@@ -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_ */
### 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)
......
/**
*
* @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>
......
!!!
!
! @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'
......
......@@ -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_ */
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