diff --git a/control/descriptor.h b/control/descriptor.h index 81845756b9852c36d96fd51fc1c2a8756eaff0b0..a70f19221ff1be39f9e3bda838f39fa86f78c219 100644 --- a/control/descriptor.h +++ b/control/descriptor.h @@ -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 \ diff --git a/runtime/parsec/include/morse_parsec.h b/runtime/parsec/include/morse_parsec.h index b91f2d3af3278b965d95f6e8ae8b542e6eaeb382..bdaaece06a48225263d564ce6cfdfac27b629254 100644 --- a/runtime/parsec/include/morse_parsec.h +++ b/runtime/parsec/include/morse_parsec.h @@ -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_ */ diff --git a/runtime/quark/include/morse_quark.h b/runtime/quark/include/morse_quark.h index 749f24f98851e08b12b1984be676da8b2ceebbf9..e841a251e55f571a39002967e7fd3cc3933b830e 100644 --- a/runtime/quark/include/morse_quark.h +++ b/runtime/quark/include/morse_quark.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_ */ diff --git a/runtime/starpu/include/morse_starpu.h b/runtime/starpu/include/morse_starpu.h index 57ff8a0f6fb957bf78cae6265d584faf41e726df..473e68aa8c3691cef051b45573f66ef615f4c446 100644 --- a/runtime/starpu/include/morse_starpu.h +++ b/runtime/starpu/include/morse_starpu.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_ */