Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
3d38a6dd
Commit
3d38a6dd
authored
Feb 18, 2018
by
Mathieu Faverge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update headers
parent
6e97106d
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
632 additions
and
625 deletions
+632
-625
control/common.h
control/common.h
+0
-2
include/chameleon/chameleon_constants.h
include/chameleon/chameleon_constants.h
+29
-13
include/chameleon/chameleon_simulate.h
include/chameleon/chameleon_simulate.h
+1
-1
include/chameleon/chameleon_struct.h
include/chameleon/chameleon_struct.h
+22
-24
include/chameleon/chameleon_tasks.h
include/chameleon/chameleon_tasks.h
+8
-8
include/chameleon/chameleon_tasks_z.h
include/chameleon/chameleon_tasks_z.h
+262
-264
include/chameleon/chameleon_tasks_zc.h
include/chameleon/chameleon_tasks_zc.h
+4
-4
include/chameleon/chameleon_types.h
include/chameleon/chameleon_types.h
+1
-4
include/chameleon/chameleon_z.h
include/chameleon/chameleon_z.h
+244
-244
include/chameleon/chameleon_zc.h
include/chameleon/chameleon_zc.h
+2
-2
include/chameleon/runtime.h
include/chameleon/runtime.h
+59
-59
No files found.
control/common.h
View file @
3d38a6dd
...
...
@@ -81,8 +81,6 @@
#define MORSE_GRPSIZE morse->group_size
#define MORSE_NB morse->nb
#define MORSE_IB morse->ib
#define MORSE_NBNBSIZE morse->nbnbsize
#define MORSE_IBNBSIZE morse->ibnbsize
#define MORSE_SCHEDULING morse->scheduling
#define MORSE_RHBLK morse->rhblock
#define MORSE_TRANSLATION morse->translation
...
...
include/chameleon/chameleon_constants.h
View file @
3d38a6dd
...
...
@@ -47,7 +47,7 @@
/**
* @brief Transpostion
*/
typedef
enum
cham_trans_e
{
typedef
enum
cham
eleon
_trans_e
{
ChamNoTrans
=
111
,
/**< Use A */
ChamTrans
=
112
,
/**< Use A^t */
ChamConjTrans
=
113
/**< Use conj(A^t) */
...
...
@@ -56,7 +56,7 @@ typedef enum cham_trans_e {
/**
* @brief Upper/Lower part
*/
typedef
enum
cham_uplo_e
{
typedef
enum
cham
eleon
_uplo_e
{
ChamUpper
=
121
,
/**< Use lower triangle of A */
ChamLower
=
122
,
/**< Use upper triangle of A */
ChamUpperLower
=
123
/**< Use the full A */
...
...
@@ -66,7 +66,7 @@ typedef enum cham_uplo_e {
/**
* @brief Diagonal
*/
typedef
enum
cham_diag_e
{
typedef
enum
cham
eleon
_diag_e
{
ChamNonUnit
=
131
,
/**< Diagonal is non unitary */
ChamUnit
=
132
/**< Diagonal is unitary */
}
cham_diag_t
;
...
...
@@ -74,7 +74,7 @@ typedef enum cham_diag_e {
/**
* @brief Side of the operation
*/
typedef
enum
cham_side_e
{
typedef
enum
cham
eleon
_side_e
{
ChamLeft
=
141
,
/**< Apply operator on the left */
ChamRight
=
142
/**< Apply operator on the right */
}
cham_side_t
;
...
...
@@ -82,7 +82,7 @@ typedef enum cham_side_e {
/**
* @brief Norms
*/
typedef
enum
cham_normtype_e
{
typedef
enum
cham
eleon
_normtype_e
{
ChamOneNorm
=
171
,
/**< One norm: max_j( sum_i( |a_{ij}| ) ) */
ChamRealOneNorm
=
172
,
ChamTwoNorm
=
173
,
...
...
@@ -93,7 +93,6 @@ typedef enum cham_normtype_e {
ChamRealMaxNorm
=
178
}
cham_normtype_t
;
#define ChameleonDistUniform 201
#define ChameleonDistSymmetric 202
#define ChameleonDistNormal 203
...
...
@@ -112,15 +111,32 @@ typedef enum cham_normtype_e {
#define ChameleonPackUpeprBand 297
#define ChameleonPackAll 298
#define ChameleonNoVec 301
#define ChameleonVec 302
#define ChameleonIvec 303
/**
* @brief Singular/Eigen vector job description
*/
typedef
enum
chameleon_job_e
{
ChamNoVec
=
301
,
ChamVec
=
302
,
ChamIvec
=
303
,
}
cham_job_t
;
/**
* @brief Algorithm Direction
*/
typedef
enum
chameleon_dir_e
{
ChamDirForward
=
391
,
/**< Forward direction */
ChamDirBackward
=
392
,
/**< Backward direction */
}
cham_dir_t
;
/**
* @brief Direction of the main vectors as for the householder reflectors in QR/LQ factorizations.
*/
typedef
enum
chameleon_store_e
{
ChamColumnwise
=
401
,
/**< Column wise storage */
ChamRowwise
=
402
,
/**< Row wise storage */
}
cham_store_t
;
#define ChameleonForward 391
#define ChameleonBackward 392
#define ChameleonColumnwise 401
#define ChameleonRowwise 402
#define ChameleonTrd 1001
#define ChameleonBrd 1002
...
...
include/chameleon/chameleon_simulate.h
View file @
3d38a6dd
...
...
@@ -19,7 +19,7 @@
#ifndef _chameleon_simulate_h_
#define _chameleon_simulate_h_
#include "chameleon/
chameleon_
config.h"
#include "chameleon/config.h"
/* we need this when starpu is compiled with simgrid enabled */
#if defined(CHAMELEON_SCHED_STARPU) && defined(CHAMELEON_SIMULATION)
...
...
include/chameleon/chameleon_struct.h
View file @
3d38a6dd
...
...
@@ -18,11 +18,11 @@
* @date 2011-06-01
*
*/
#ifndef _
CHAMELEON_STRUCT_H
_
#define _
CHAMELEON_STRUCT_H
_
#ifndef _
chameleon_struct_h
_
#define _
chameleon_struct_h
_
#include "chameleon/
chameleon_
config.h"
#include "chameleon/
chameleon_
types.h"
#include "chameleon/config.h"
#include "chameleon/types.h"
BEGIN_C_DECLS
...
...
@@ -44,22 +44,22 @@ BEGIN_C_DECLS
* +----------+---+
*
*/
struct
matrix
_desc_s
;
typedef
struct
matrix
_desc_s
MATRIX
_desc_t
;
struct
chameleon
_desc_s
;
typedef
struct
chameleon
_desc_s
CHAM
_desc_t
;
struct
matrix
_desc_s
{
// function to get
matrix
tiles address
void
*
(
*
get_blkaddr
)(
const
MATRIX
_desc_t
*
,
int
,
int
);
// function to get
matrix
tiles leading dimension
int
(
*
get_blkldd
)(
const
MATRIX
_desc_t
*
,
int
);
// function to get
matrix
tiles MPI rank
int
(
*
get_rankof
)
(
const
MATRIX
_desc_t
*
,
int
,
int
);
struct
chameleon
_desc_s
{
// function to get
chameleon
tiles address
void
*
(
*
get_blkaddr
)(
const
CHAM
_desc_t
*
,
int
,
int
);
// function to get
chameleon
tiles leading dimension
int
(
*
get_blkldd
)(
const
CHAM
_desc_t
*
,
int
);
// function to get
chameleon
tiles MPI rank
int
(
*
get_rankof
)
(
const
CHAM
_desc_t
*
,
int
,
int
);
void
*
mat
;
// pointer to the beginning of the matrix
size_t
A21
;
// pointer to the beginning of the matrix A21
size_t
A12
;
// pointer to the beginning of the matrix A12
size_t
A22
;
// pointer to the beginning of the matrix A22
CHAMELEON_enum
styp
;
// storage layout of the matrix
CHAMELEON_enum
dtyp
;
// precision of the matrix
cham_storage_t
styp
;
// storage layout of the matrix
cham_flttype_t
dtyp
;
// precision of the matrix
int
mb
;
// number of rows in a tile
int
nb
;
// number of columns in a tile
int
bsiz
;
// size in elements including padding
...
...
@@ -111,19 +111,17 @@ typedef struct chameleon_context_s {
int
group_size
;
/* Boolean flags */
CHAMELEON
_bool
warnings_enabled
;
CHAMELEON
_bool
autotuning_enabled
;
CHAMELEON
_bool
parallel_enabled
;
CHAMELEON
_bool
profiling_enabled
;
CHAMELEON
_bool
progress_enabled
;
cham
_bool
_t
warnings_enabled
;
cham
_bool
_t
autotuning_enabled
;
cham
_bool
_t
parallel_enabled
;
cham
_bool
_t
profiling_enabled
;
cham
_bool
_t
progress_enabled
;
CHAMELEON_enum
householder
;
// "domino" (flat) or tree-based (reduction) Householder
CHAMELEON_enum
translation
;
// In place or Out of place layout conversion
cham_householder_t
householder
;
// "domino" (flat) or tree-based (reduction) Householder
cham_translation_t
translation
;
// In place or Out of place layout conversion
int
nb
;
int
ib
;
int
nbnbsize
;
// tile size in elements (possibly padded)
int
ibnbsize
;
// T or L tile size in elements (---''---)
int
rhblock
;
// block size for tree-based (reduction) Householder
void
*
schedopt
;
// structure for runtimes
int
mpi_outer_init
;
// MPI has been initialized outside our functions
...
...
include/chameleon/chameleon_tasks.h
View file @
3d38a6dd
...
...
@@ -20,7 +20,7 @@
#ifndef _chameleon_tasks_h_
#define _chameleon_tasks_h_
#include "chameleon/
chameleon_
config.h"
#include "chameleon/config.h"
BEGIN_C_DECLS
...
...
@@ -84,14 +84,14 @@ typedef enum chameleon_tasktype_e {
TASK_TILE_ZERO
,
TASK_NBKERNELS
}
cham
eleon
_tasktype_t
;
}
cham_tasktype_t
;
#include "chameleon/
chameleon_
tasks_z.h"
#include "chameleon/
chameleon_
tasks_d.h"
#include "chameleon/
chameleon_
tasks_c.h"
#include "chameleon/
chameleon_
tasks_s.h"
#include "chameleon/
chameleon_
tasks_zc.h"
#include "chameleon/
chameleon_
tasks_ds.h"
#include "chameleon/tasks_z.h"
#include "chameleon/tasks_d.h"
#include "chameleon/tasks_c.h"
#include "chameleon/tasks_s.h"
#include "chameleon/tasks_zc.h"
#include "chameleon/tasks_ds.h"
END_C_DECLS
...
...
include/chameleon/chameleon_tasks_z.h
View file @
3d38a6dd
This diff is collapsed.
Click to expand it.
include/chameleon/chameleon_tasks_zc.h
View file @
3d38a6dd
...
...
@@ -31,11 +31,11 @@
*/
void
INSERT_TASK_clag2z
(
const
RUNTIME_option_t
*
options
,
int
m
,
int
n
,
int
nb
,
MORSE
_desc_t
*
A
,
int
Am
,
int
An
,
int
lda
,
MORSE
_desc_t
*
B
,
int
Bm
,
int
Bn
,
int
ldb
);
CHAM
_desc_t
*
A
,
int
Am
,
int
An
,
int
lda
,
CHAM
_desc_t
*
B
,
int
Bm
,
int
Bn
,
int
ldb
);
void
INSERT_TASK_zlag2c
(
const
RUNTIME_option_t
*
options
,
int
m
,
int
n
,
int
nb
,
MORSE
_desc_t
*
A
,
int
Am
,
int
An
,
int
lda
,
MORSE
_desc_t
*
B
,
int
Bm
,
int
Bn
,
int
ldb
);
CHAM
_desc_t
*
A
,
int
Am
,
int
An
,
int
lda
,
CHAM
_desc_t
*
B
,
int
Bm
,
int
Bn
,
int
ldb
);
#endif
include/chameleon/chameleon_types.h
View file @
3d38a6dd
...
...
@@ -40,10 +40,7 @@
/**
* CHAMELEON types
*/
typedef
int
CHAMELEON_enum
;
typedef
int
CHAMELEON_bool
;
typedef
long
CHAMELEON_index
;
typedef
long
CHAMELEON_size
;
typedef
int8_t
cham_bool_t
;
/**
...
...
include/chameleon/chameleon_z.h
View file @
3d38a6dd
This diff is collapsed.
Click to expand it.
include/chameleon/chameleon_zc.h
View file @
3d38a6dd
...
...
@@ -21,8 +21,8 @@
* @precisions mixed zc -> ds
*
*/
#ifndef _
CHAMELEON_ZC_H
_
#define _
CHAMELEON_ZC_H
_
#ifndef _
chameleon_zc_h
_
#define _
chameleon_zc_h
_
BEGIN_C_DECLS
...
...
include/chameleon/runtime.h
View file @
3d38a6dd
...
...
@@ -17,11 +17,11 @@
* @date 2011-06-01
*
*/
#ifndef _runtime_h_
#define _runtime_h_
#ifndef
_chameleon
_runtime_h_
#define
_chameleon
_runtime_h_
#include "chameleon/
chameleon_
config.h"
#include "chameleon/
chameleon_
constants.h"
#include "chameleon/config.h"
#include "chameleon/constants.h"
#include "chameleon/runtime_struct.h"
BEGIN_C_DECLS
...
...
@@ -49,7 +49,7 @@ typedef enum runtime_id_e {
* The runtime context to initialize for the runtime.
*/
void
RUNTIME_context_create
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_context_create
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Destroy the specific options in the context after this last one has
...
...
@@ -60,27 +60,27 @@ RUNTIME_context_create( RUNTIME_context_t *ctxt );
* be destroyed
*/
void
RUNTIME_context_destroy
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_context_destroy
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Enable a global option of the runtime.
* @warning Should be called only by
MORS
E_Enable()
* @warning Should be called only by
RUNTIM
E_Enable()
*
* @param[in] option
* @arg
MORSE
_PROFILING_MODE: start the profiling mode of the runtime.
* @arg
CHAMELEON
_PROFILING_MODE: start the profiling mode of the runtime.
*/
void
RUNTIME_enable
(
MORSE_enum
option
);
RUNTIME_enable
(
cham_option_t
option
);
/**
* @brief Disable a global option of the runtime.
* @warning Should be called only by
MORS
E_Disable()
* @warning Should be called only by
RUNTIM
E_Disable()
*
* @param[in] option
* @arg
MORSE
_PROFILING_MODE: stop the profiling mode of the runtime.
* @arg
CHAMELEON
_PROFILING_MODE: stop the profiling mode of the runtime.
*/
void
RUNTIME_disable
(
MORSE_enum
option
);
RUNTIME_disable
(
cham_option_t
option
);
/**
* @}
...
...
@@ -118,7 +118,7 @@ RUNTIME_disable( MORSE_enum option );
*
*/
int
RUNTIME_init
(
RUNTIME
_context_t
*
ctxt
,
RUNTIME_init
(
CHAM
_context_t
*
ctxt
,
int
ncpus
,
int
ncudas
,
int
nthreads_per_worker
);
...
...
@@ -130,7 +130,7 @@ RUNTIME_init( RUNTIME_context_t *ctxt,
* The runtime context for which the runtime system must be shut down.
*/
void
RUNTIME_finalize
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_finalize
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Suspend the processing of new tasks submitted to the runtime system.
...
...
@@ -139,7 +139,7 @@ RUNTIME_finalize( RUNTIME_context_t *ctxt );
* The runtime context for which the suspension must be made.
*/
void
RUNTIME_pause
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_pause
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Resume the processing of new tasks submitted to the runtime system.
...
...
@@ -148,7 +148,7 @@ RUNTIME_pause( RUNTIME_context_t *ctxt );
* The runtime context for which the execution must be resumed.
*/
void
RUNTIME_resume
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_resume
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Wait for completion of all tasks submitted to the runtime.
...
...
@@ -157,7 +157,7 @@ RUNTIME_resume( RUNTIME_context_t *ctxt );
* The runtime context in which the task completion is performed.
*/
void
RUNTIME_barrier
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_barrier
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Show the progress of the computations when enabled.
...
...
@@ -166,7 +166,7 @@ RUNTIME_barrier( RUNTIME_context_t *ctxt );
* The runtime context for which the context needs to be printed.
*/
void
RUNTIME_progress
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_progress
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Get the rank of the current worker for the runtime.
...
...
@@ -177,7 +177,7 @@ RUNTIME_progress( RUNTIME_context_t *ctxt );
* @retval The rank of the current thread in the runtime.
*/
int
RUNTIME_thread_rank
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_thread_rank
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Get the number of CPU workers of the runtime.
...
...
@@ -188,7 +188,7 @@ RUNTIME_thread_rank( RUNTIME_context_t *ctxt );
* @retval The number of threads currently used by the runtime.
*/
int
RUNTIME_thread_size
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_thread_size
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Get the MPI comm rank of the current process related to the runtime.
...
...
@@ -199,7 +199,7 @@ RUNTIME_thread_size( RUNTIME_context_t *ctxt );
* @retval The rank of the process in the communicator known by the runtime.
*/
int
RUNTIME_comm_rank
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_comm_rank
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Get the MPI comm size related to the runtime.
...
...
@@ -210,7 +210,7 @@ RUNTIME_comm_rank( RUNTIME_context_t *ctxt );
* @retval The size of the communicator known by the runtime.
*/
int
RUNTIME_comm_size
(
RUNTIME
_context_t
*
ctxt
);
RUNTIME_comm_size
(
CHAM
_context_t
*
ctxt
);
/**
* @brief Set the data tags bounds based on runtime tags limit.
...
...
@@ -247,11 +247,11 @@ RUNTIME_comm_set_tag_sizes( int user_tag_width,
* On entry the allocated runtime sequence structure, and on exit
* the scheduler specifics for the sequence have been initialized.
*
* @retval
MORSE
_SUCCESS on success.
* @retval
MORSE
_ERR_OUT_OF_RESOURCES, if the sequence could not be created.
* @retval
CHAMELEON
_SUCCESS on success.
* @retval
CHAMELEON
_ERR_OUT_OF_RESOURCES, if the sequence could not be created.
*/
int
RUNTIME_sequence_create
(
RUNTIME
_context_t
*
ctxt
,
RUNTIME_sequence_create
(
CHAM
_context_t
*
ctxt
,
RUNTIME_sequence_t
*
sequence
);
/**
...
...
@@ -265,10 +265,10 @@ RUNTIME_sequence_create( RUNTIME_context_t *ctxt,
* On exit, the scheduler specifics of the sequence have been
* destroyed.
*
* @retval
MORSE
_SUCCESS on success.
* @retval
CHAMELEON
_SUCCESS on success.
*/
int
RUNTIME_sequence_destroy
(
RUNTIME
_context_t
*
ctxt
,
RUNTIME_sequence_destroy
(
CHAM
_context_t
*
ctxt
,
RUNTIME_sequence_t
*
sequence
);
/**
...
...
@@ -280,11 +280,11 @@ RUNTIME_sequence_destroy( RUNTIME_context_t *ctxt,
* @param[in] sequence
* The sequence that gathers a set of tasks to complete.
*
* @retval
MORSE
_SUCCESS on success.
* @retval
CHAMELEON
_SUCCESS on success.
* @retval The algorithm return code on failure.
*/
int
RUNTIME_sequence_wait
(
RUNTIME
_context_t
*
ctxt
,
RUNTIME_sequence_wait
(
CHAM
_context_t
*
ctxt
,
RUNTIME_sequence_t
*
sequence
);
/**
...
...
@@ -307,10 +307,10 @@ RUNTIME_sequence_wait( RUNTIME_context_t *ctxt,
* above.
*/
void
RUNTIME_sequence_flush
(
RUNTIME
_context_t
*
ctxt
,
RUNTIME_sequence_flush
(
CHAM
_context_t
*
ctxt
,
RUNTIME_sequence_t
*
sequence
,
RUNTIME_request_t
*
request
,
int
status
);
int
status
);
/**
* @}
...
...
@@ -355,7 +355,7 @@ RUNTIME_free( void *ptr, size_t size );
* The descriptor to initialize.
*/
void
RUNTIME_desc_create
(
MORSE
_desc_t
*
desc
);
RUNTIME_desc_create
(
CHAM
_desc_t
*
desc
);
/**
* @brief Finalize runtime specific data structure of a given descriptor.
...
...
@@ -364,7 +364,7 @@ RUNTIME_desc_create( MORSE_desc_t *desc );
* The descriptor to finalize.
*/
void
RUNTIME_desc_destroy
(
MORSE
_desc_t
*
desc
);
RUNTIME_desc_destroy
(
CHAM
_desc_t
*
desc
);
/**
* @brief Acquire in main memory an up-to-date copy of the data described by the
...
...
@@ -377,10 +377,10 @@ RUNTIME_desc_destroy( MORSE_desc_t *desc );
* @param[in] desc
* The descriptor to acquire.
*
* @retval
MORSE
_SUCCESS on success
* @retval
CHAMELEON
_SUCCESS on success
*/
int
RUNTIME_desc_acquire
(
const
MORSE
_desc_t
*
desc
);
RUNTIME_desc_acquire
(
const
CHAM
_desc_t
*
desc
);
/**
* @brief Release the data described by the descriptor to be used by the runtime
...
...
@@ -392,10 +392,10 @@ RUNTIME_desc_acquire( const MORSE_desc_t *desc );
* @param[in] desc
* The descriptor to release.
*
* @retval
MORSE
_SUCCESS on success
* @retval
CHAMELEON
_SUCCESS on success
*/
int
RUNTIME_desc_release
(
const
MORSE
_desc_t
*
desc
);
RUNTIME_desc_release
(
const
CHAM
_desc_t
*
desc
);
/**
* @brief Flush all pieces of data from a descriptor.
...
...
@@ -412,7 +412,7 @@ RUNTIME_desc_release( const MORSE_desc_t *desc );
* The sequence in which the data is used.
*/
void
RUNTIME_desc_flush
(
const
MORSE
_desc_t
*
desc
,
RUNTIME_desc_flush
(
const
CHAM
_desc_t
*
desc
,
const
RUNTIME_sequence_t
*
sequence
);
/**
...
...
@@ -446,7 +446,7 @@ RUNTIME_flush( );
*/
void
RUNTIME_data_flush
(
const
RUNTIME_sequence_t
*
sequence
,
const
MORSE
_desc_t
*
A
,
int
Am
,
int
An
);
const
CHAM
_desc_t
*
A
,
int
Am
,
int
An
);
/**
* @brief Migrate a single piece of data.
...
...
@@ -472,11 +472,11 @@ RUNTIME_data_flush( const RUNTIME_sequence_t *sequence,
#if defined(CHAMELEON_USE_MIGRATE)
void
RUNTIME_data_migrate
(
const
RUNTIME_sequence_t
*
sequence
,
const
MORSE
_desc_t
*
A
,
int
Am
,
int
An
,
int
new_rank
);
const
CHAM
_desc_t
*
A
,
int
Am
,
int
An
,
int
new_rank
);
#else
static
inline
void
RUNTIME_data_migrate
(
const
RUNTIME_sequence_t
*
sequence
,
const
MORSE
_desc_t
*
A
,
int
Am
,
int
An
,
int
new_rank
)
{
const
CHAM
_desc_t
*
A
,
int
Am
,
int
An
,
int
new_rank
)
{
(
void
)
sequence
;
(
void
)
A
;
(
void
)
Am
;
(
void
)
An
;
(
void
)
new_rank
;
}
#endif
...
...
@@ -497,7 +497,7 @@ RUNTIME_data_migrate( const RUNTIME_sequence_t *sequence,
* @retval The runtime handler address of the piece of data.
*/
void
*
RUNTIME_data_getaddr
(
const
MORSE
_desc_t
*
A
,
int
Am
,
int
An
);
RUNTIME_data_getaddr
(
const
CHAM
_desc_t
*
A
,
int
Am
,
int
An
);
/**
* @}
...
...
@@ -524,7 +524,7 @@ RUNTIME_data_getaddr( const MORSE_desc_t *A, int Am, int An );
*/
void
RUNTIME_options_init
(
RUNTIME_option_t
*
options
,
RUNTIME
_context_t
*
context
,
CHAM
_context_t
*
context
,
RUNTIME_sequence_t
*
sequence
,
RUNTIME_request_t
*
request
);
...
...
@@ -541,7 +541,7 @@ RUNTIME_options_init( RUNTIME_option_t *options,
*/
void
RUNTIME_options_finalize
(
RUNTIME_option_t
*
options
,
RUNTIME
_context_t
*
context
);
CHAM
_context_t
*
context
);
/**
* @brief Declare and initialize the workspaces for the given options structure
...
...
@@ -586,20 +586,20 @@ void RUNTIME_dlocality_allrestore ();
void
RUNTIME_slocality_allrestore
();
void
RUNTIME_zlocality_allrestrict
(
uint32_t
);
void
RUNTIME_zlocality_onerestrict
(
MORSE_kernel
_t
,
uint32_t
);
void
RUNTIME_zlocality_onerestore
(
MORSE_kernel
_t
);
void
RUNTIME_zlocality_onerestrict
(
cham_tasktype
_t
,
uint32_t
);
void
RUNTIME_zlocality_onerestore
(
cham_tasktype
_t
);
void
RUNTIME_clocality_allrestrict
(
uint32_t
);
void
RUNTIME_clocality_onerestrict
(
MORSE_kernel
_t
,
uint32_t
);
void
RUNTIME_clocality_onerestore
(
MORSE_kernel
_t
);
void
RUNTIME_clocality_onerestrict
(
cham_tasktype
_t
,
uint32_t
);
void
RUNTIME_clocality_onerestore
(
cham_tasktype
_t
);
void
RUNTIME_dlocality_allrestrict
(
uint32_t
);
void
RUNTIME_dlocality_onerestrict
(
MORSE_kernel
_t
,
uint32_t
);
void
RUNTIME_dlocality_onerestore
(
MORSE_kernel
_t
);
void
RUNTIME_dlocality_onerestrict
(
cham_tasktype
_t
,
uint32_t
);
void
RUNTIME_dlocality_onerestore
(
cham_tasktype
_t
);
void
RUNTIME_slocality_allrestrict
(
uint32_t
);
void
RUNTIME_slocality_onerestrict
(
MORSE_kernel
_t
,
uint32_t
);
void
RUNTIME_slocality_onerestore
(
MORSE_kernel
_t
);
void
RUNTIME_slocality_onerestrict
(
cham_tasktype
_t
,
uint32_t
);
void
RUNTIME_slocality_onerestore
(
cham_tasktype
_t
);
/**
* @}
...
...
@@ -611,8 +611,8 @@ void RUNTIME_schedprofile_display ();
void
RUNTIME_kernelprofile_display
();
double
RUNTIME_get_time
();
void
RUNTIME_iteration_push
(
RUNTIME
_context_t
*
,
unsigned
long
iteration
);
void
RUNTIME_iteration_pop
(
RUNTIME
_context_t
*
);
void
RUNTIME_iteration_push
(
CHAM
_context_t
*
,
unsigned
long
iteration
);
void
RUNTIME_iteration_pop
(
CHAM
_context_t
*
);
void
RUNTIME_start_profiling
();
void
RUNTIME_stop_profiling
();
...
...
@@ -621,13 +621,13 @@ void RUNTIME_start_stats();
void
RUNTIME_stop_stats
();
void
RUNTIME_zdisplay_allprofile
();
void
RUNTIME_zdisplay_oneprofile
(
MORSE_kernel
_t
);
void
RUNTIME_zdisplay_oneprofile
(
cham_tasktype
_t
);
void
RUNTIME_cdisplay_allprofile
();
void
RUNTIME_cdisplay_oneprofile
(
MORSE_kernel
_t
);
void
RUNTIME_cdisplay_oneprofile
(
cham_tasktype
_t
);
void
RUNTIME_ddisplay_allprofile
();
void
RUNTIME_ddisplay_oneprofile
(
MORSE_kernel
_t
);
void
RUNTIME_ddisplay_oneprofile
(
cham_tasktype
_t
);
void
RUNTIME_sdisplay_allprofile
();
void
RUNTIME_sdisplay_oneprofile
(
MORSE_kernel
_t
);
void
RUNTIME_sdisplay_oneprofile
(
cham_tasktype
_t
);
/**
* @}
...
...
@@ -635,4 +635,4 @@ void RUNTIME_sdisplay_oneprofile (MORSE_kernel_t);
END_C_DECLS
#endif
/* _runtime_h_ */
#endif
/*
_chameleon
_runtime_h_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment