chameleon_parsec.h 1.11 KB
Newer Older
Mathieu Faverge's avatar
Mathieu Faverge committed
1
2
3
4
5
/**
 *
 * @copyright (c) 2009-2015 The University of Tennessee and The University
 *                          of Tennessee Research Foundation.
 *                          All rights reserved.
6
7
 * @copyright (c) 2012-2017 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
 *                          Univ. Bordeaux. All rights reserved.
Mathieu Faverge's avatar
Mathieu Faverge committed
8
9
10
11
12
13
 *
 **/

#ifndef _MORSE_PARSEC_H_
#define _MORSE_PARSEC_H_

14
15
#include <parsec.h>
#include <parsec/insert_function.h>
Mathieu Faverge's avatar
Mathieu Faverge committed
16
17
18
19
20
21
22
23
24

#include "control/common.h"

struct morse_parsec_desc_s;
typedef struct morse_parsec_desc_s morse_parsec_desc_t;

/*
 * Access to block pointer and leading dimension
 */
25
26
#define RTBLKADDR( desc, type, m, n ) ( parsec_dtd_tile_of( (parsec_data_collection_t *) ((desc)->schedopt), \
                                                            ((parsec_data_collection_t *) (desc)->schedopt)->data_key((desc)->schedopt, m, n) ))
Mathieu Faverge's avatar
Mathieu Faverge committed
27

28
29
#define RUNTIME_BEGIN_ACCESS_DECLARATION

30
31
32
33
34
35
#define RUNTIME_ACCESS_R(A, Am, An)

#define RUNTIME_ACCESS_W(A, Am, An)

#define RUNTIME_ACCESS_RW(A, Am, An)

36
37
#define RUNTIME_RANK_CHANGED(rank)

38
39
#define RUNTIME_END_ACCESS_DECLARATION

Mathieu Faverge's avatar
Mathieu Faverge committed
40
#endif /* _MORSE_PARSEC_H_ */