auxiliary.h 1.28 KB
Newer Older
1
/**
2 3
 *
 * @file auxiliary.h
4
 *
Mathieu Faverge's avatar
Mathieu Faverge committed
5 6
 * @copyright 2009-2014 The University of Tennessee and The University of
 *                      Tennessee Research Foundation. All rights reserved.
Mathieu Faverge's avatar
Mathieu Faverge committed
7
 * @copyright 2012-2018 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
8
 *                      Univ. Bordeaux. All rights reserved.
9
 *
10
 ***
11
 *
12
 * @brief Chameleon auxiliary header
13
 *
Mathieu Faverge's avatar
Mathieu Faverge committed
14
 * @version 1.0.0
15 16 17 18 19 20
 * @author Jakub Kurzak
 * @author Piotr Luszczek
 * @author Emmanuel Agullo
 * @author Cedric Castagnede
 * @date 2010-11-15
 *
21
 */
Mathieu Faverge's avatar
Mathieu Faverge committed
22 23
#ifndef _chameleon_auxiliary_h_
#define _chameleon_auxiliary_h_
24

25 26
#include "chameleon/struct.h"
#include "chameleon/tasks.h"
27 28 29 30 31

#ifdef __cplusplus
extern "C" {
#endif

32
/**
33
 *  Internal routines
34
 */
Mathieu Faverge's avatar
Mathieu Faverge committed
35 36 37 38 39
void chameleon_warning      (const char *func_name, const char* msg_text);
void chameleon_error        (const char *func_name, const char* msg_text);
void chameleon_fatal_error  (const char *func_name, const char* msg_text);
int  chameleon_rank         (CHAM_context_t *chamctxt);
int  chameleon_tune         (cham_tasktype_t func, int M, int N, int NRHS);
40

41
/**
42
 *  API routines
43
 */
44 45 46
int  CHAMELEON_Version      (int *ver_major, int *ver_minor, int *ver_micro);
int  CHAMELEON_Element_Size (int type);
int  CHAMELEON_My_Mpi_Rank  (void);
47

48 49 50 51
#ifdef __cplusplus
}
#endif

Mathieu Faverge's avatar
Mathieu Faverge committed
52
#endif /* _chameleon_auxiliary_h_ */