Commit d1f7a467 authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Also add RANK_CHANGED callback for runtimes

parent e5d8288c
......@@ -220,7 +220,9 @@ inline static int morse_desc_islocal( const MORSE_desc_t *A, int m, int n )
if (morse_desc_islocal(A, Am, An)) __morse_need_submit = 1; \
RUNTIME_ACCESS_RW(A, Am, An)
#define MORSE_RANK_CHANGED(rank) __morse_need_submit = 1;
#define MORSE_RANK_CHANGED(rank) \
__morse_need_submit = 1; \
RUNTIME_RANK_CHANGED(rank)
#define MORSE_END_ACCESS_DECLARATION \
RUNTIME_END_ACCESS_DECLARATION \
......
......@@ -32,6 +32,8 @@ typedef struct morse_parsec_desc_s morse_parsec_desc_t;
#define RUNTIME_ACCESS_RW(A, Am, An)
#define RUNTIME_RANK_CHANGED(rank)
#define RUNTIME_END_ACCESS_DECLARATION
#endif /* _MORSE_PARSEC_H_ */
......@@ -55,6 +55,8 @@ typedef struct quark_option_s {
#define RUNTIME_ACCESS_RW(A, Am, An)
#define RUNTIME_RANK_CHANGED(rank)
#define RUNTIME_END_ACCESS_DECLARATION
#endif /* _MORSE_QUARK_H_ */
......@@ -94,6 +94,8 @@ void RUNTIME_set_reduction_methods(starpu_data_handle_t handle, MORSE_enum dtyp)
#define RUNTIME_ACCESS_RW(A, Am, An)
#define RUNTIME_RANK_CHANGED(rank)
#define RUNTIME_END_ACCESS_DECLARATION
#endif /* _MORSE_STARPU_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