diff --git a/CMakeLists.txt b/CMakeLists.txt index b65b2961ccecb9369401e3d30b925920fe8e0a8c..44019bf5462cd6145205593b869f9429b624dcf0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -691,6 +691,8 @@ if( CHAMELEON_SCHED_STARPU ) foreach(libdir ${STARPU_LIBRARY_DIRS_DEP}) list(APPEND CMAKE_REQUIRED_FLAGS "-L${libdir}") endforeach() + add_definitions("-DSTARPU_${STARPU_VERSION_MAJOR}${STARPU_VERSION_MINOR}") + message("-- ${Blue}Add definition STARPU_${STARPU_VERSION_MAJOR}${STARPU_VERSION_MINOR}${ColourReset}") set(CMAKE_REQUIRED_LIBRARIES "${STARPU_LIBRARIES_DEP}") if (CHAMELEON_USE_MPI) list(APPEND CMAKE_REQUIRED_INCLUDES "${MPI_C_INCLUDE_PATH}") diff --git a/runtime/starpu/codelets/codelet_zasum.c b/runtime/starpu/codelets/codelet_zasum.c index bd04e779c28f4c3e4fb7d8068618d48e46396b7c..14c640d71ddc6e4695ea8381544147da332abdc2 100644 --- a/runtime/starpu/codelets/codelet_zasum.c +++ b/runtime/starpu/codelets/codelet_zasum.c @@ -46,9 +46,6 @@ void MORSE_TASK_dzasum(const MORSE_option_t *options, STARPU_RW, RTBLKADDR(B, double, Bm, Bn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zasum", -#endif 0); } diff --git a/runtime/starpu/codelets/codelet_zaxpy.c b/runtime/starpu/codelets/codelet_zaxpy.c index 26735cad8ff1b02348623c1fe559cff7fd79df22..1de17ff6958fa3b306adc7b8cf867c60d5c17bc6 100644 --- a/runtime/starpu/codelets/codelet_zaxpy.c +++ b/runtime/starpu/codelets/codelet_zaxpy.c @@ -45,9 +45,6 @@ void MORSE_TASK_zaxpy(const MORSE_option_t *options, STARPU_VALUE, &incB, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zaxpy", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zbuild.c b/runtime/starpu/codelets/codelet_zbuild.c index fa1cd01cc9c4349d266ce085648caa7703ccd181..d8071d814db42bd8f7b6ec4c0d4c6ecc4c919372 100644 --- a/runtime/starpu/codelets/codelet_zbuild.c +++ b/runtime/starpu/codelets/codelet_zbuild.c @@ -62,9 +62,6 @@ void MORSE_TASK_zbuild( const MORSE_option_t *options, STARPU_VALUE, &user_build_callback, sizeof(void*), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zbuild", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zgeadd.c b/runtime/starpu/codelets/codelet_zgeadd.c index f2ebfc783c0dbbb186d433aa41d1a8e66ad3ae3e..1eefb71ba2d0ae4edd870ed3eef0b3c5a4a7c3f7 100644 --- a/runtime/starpu/codelets/codelet_zgeadd.c +++ b/runtime/starpu/codelets/codelet_zgeadd.c @@ -107,9 +107,6 @@ void MORSE_TASK_zgeadd(const MORSE_option_t *options, STARPU_VALUE, &ldb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zgeadd", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zgelqt.c b/runtime/starpu/codelets/codelet_zgelqt.c index 023af3243433871b3e279152ef82897f2e3bd878..fe12b78508ce6b5fbd0a15928647760daf5d8fcf 100644 --- a/runtime/starpu/codelets/codelet_zgelqt.c +++ b/runtime/starpu/codelets/codelet_zgelqt.c @@ -122,9 +122,6 @@ void MORSE_TASK_zgelqt(const MORSE_option_t *options, STARPU_VALUE, &h_work, sizeof(MORSE_starpu_ws_t *), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zgelqt", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zgemm.c b/runtime/starpu/codelets/codelet_zgemm.c index 68564e7968f2a555a29e26ba3977221000c77f7a..581d46a1153631294ee2e0239e61de1c510625a0 100644 --- a/runtime/starpu/codelets/codelet_zgemm.c +++ b/runtime/starpu/codelets/codelet_zgemm.c @@ -95,9 +95,6 @@ void MORSE_TASK_zgemm(const MORSE_option_t *options, STARPU_CALLBACK, callback, #if defined(CHAMELEON_USE_MPI) STARPU_EXECUTE_ON_NODE, execution_rank, -#endif -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zgemm", #endif 0); } diff --git a/runtime/starpu/codelets/codelet_zgeqrt.c b/runtime/starpu/codelets/codelet_zgeqrt.c index ca0875bbbe8c8064307ad70930479f977abd519c..a60fb29da3d3b454615a4fd71ce77d275f493d8d 100644 --- a/runtime/starpu/codelets/codelet_zgeqrt.c +++ b/runtime/starpu/codelets/codelet_zgeqrt.c @@ -123,7 +123,7 @@ void MORSE_TASK_zgeqrt(const MORSE_option_t *options, STARPU_VALUE, &h_work, sizeof(MORSE_starpu_ws_t *), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) +#ifdef STARPU_12 STARPU_NAME, "zgeqrt", #endif 0); diff --git a/runtime/starpu/codelets/codelet_zgessm.c b/runtime/starpu/codelets/codelet_zgessm.c index 09d5a60ef334c295662ebca9747b80a59944280d..f357b215f3190ab02f25147412fe2b8234ebf784 100644 --- a/runtime/starpu/codelets/codelet_zgessm.c +++ b/runtime/starpu/codelets/codelet_zgessm.c @@ -109,9 +109,6 @@ void MORSE_TASK_zgessm(const MORSE_option_t *options, STARPU_VALUE, &lda, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zgessm", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zgessq.c b/runtime/starpu/codelets/codelet_zgessq.c index 4c65d87aa1aac7c2797a2e6a8a861c33344e92ee..d13dd85c78bfd64d6be161e5d413d69d5bc91260 100644 --- a/runtime/starpu/codelets/codelet_zgessq.c +++ b/runtime/starpu/codelets/codelet_zgessq.c @@ -44,9 +44,6 @@ void MORSE_TASK_zgessq( const MORSE_option_t *options, STARPU_RW, RTBLKADDR(SCALESUMSQ, double, SCALESUMSQm, SCALESUMSQn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zgessq", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zgetrf.c b/runtime/starpu/codelets/codelet_zgetrf.c index 9943b30ef7bf548cf6ebc70dd4b3f7eb87783aac..e6eec579a39c6f1e8bf0add8557fa44c5cd9c988 100644 --- a/runtime/starpu/codelets/codelet_zgetrf.c +++ b/runtime/starpu/codelets/codelet_zgetrf.c @@ -53,9 +53,6 @@ void MORSE_TASK_zgetrf(const MORSE_option_t *options, STARPU_VALUE, &iinfo, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zgetrf", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zgetrf_incpiv.c b/runtime/starpu/codelets/codelet_zgetrf_incpiv.c index 736bcecf753ef4349dab5c1841bee7dc2770ff9b..8ee3d95dc42be6795727931f3ba46bf3d72ebe0d 100644 --- a/runtime/starpu/codelets/codelet_zgetrf_incpiv.c +++ b/runtime/starpu/codelets/codelet_zgetrf_incpiv.c @@ -119,9 +119,6 @@ void MORSE_TASK_zgetrf_incpiv(const MORSE_option_t *options, STARPU_VALUE, &h_work, sizeof(MORSE_starpu_ws_t *), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zgetrf_incpiv", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zgetrf_nopiv.c b/runtime/starpu/codelets/codelet_zgetrf_nopiv.c index d2a6425d3f72fbe3b8f907723a4f97719d9b121a..31e70a4c06c2e040d1d5772c2ce7225b7ae37eb2 100644 --- a/runtime/starpu/codelets/codelet_zgetrf_nopiv.c +++ b/runtime/starpu/codelets/codelet_zgetrf_nopiv.c @@ -97,9 +97,6 @@ void MORSE_TASK_zgetrf_nopiv(const MORSE_option_t *options, STARPU_VALUE, &iinfo, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zgetrf_nopiv", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zhe2ge.c b/runtime/starpu/codelets/codelet_zhe2ge.c index a6a33e7838b25eb8919e14df3350b3218f50c316..1daebd9f103a51c184c8a415d237921166b745de 100644 --- a/runtime/starpu/codelets/codelet_zhe2ge.c +++ b/runtime/starpu/codelets/codelet_zhe2ge.c @@ -53,7 +53,7 @@ void MORSE_TASK_zhe2ge(const MORSE_option_t *options, STARPU_VALUE, &ldb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) +#ifdef STARPU_12 STARPU_NAME, "zhe2ge", #endif 0); diff --git a/runtime/starpu/codelets/codelet_zhemm.c b/runtime/starpu/codelets/codelet_zhemm.c index af47b8e988723605c153cf8b45fe9427b9191c24..6fd6706820ead9907f01f7bc93da6c227c75e82a 100644 --- a/runtime/starpu/codelets/codelet_zhemm.c +++ b/runtime/starpu/codelets/codelet_zhemm.c @@ -68,9 +68,6 @@ void MORSE_TASK_zhemm(const MORSE_option_t *options, STARPU_VALUE, &ldc, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zhemm", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zher2k.c b/runtime/starpu/codelets/codelet_zher2k.c index 2287ab27fbdbf42658cee6b7c27e4e1b21a3801b..fa002e2126f653651b445ccfd3173acb2c2556e5 100644 --- a/runtime/starpu/codelets/codelet_zher2k.c +++ b/runtime/starpu/codelets/codelet_zher2k.c @@ -68,9 +68,6 @@ void MORSE_TASK_zher2k(const MORSE_option_t *options, STARPU_VALUE, &ldc, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zher2k", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zherfb.c b/runtime/starpu/codelets/codelet_zherfb.c index eeaecd32c45b845e67dd9032f9a54e37c80edbc0..4e257acba0b6dc9b371466e05e5b79b43b08006d 100644 --- a/runtime/starpu/codelets/codelet_zherfb.c +++ b/runtime/starpu/codelets/codelet_zherfb.c @@ -61,7 +61,7 @@ void MORSE_TASK_zherfb(const MORSE_option_t *options, STARPU_VALUE, &nb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) +#ifdef STARPU_12 STARPU_NAME, "zherfb", #endif 0); diff --git a/runtime/starpu/codelets/codelet_zherk.c b/runtime/starpu/codelets/codelet_zherk.c index ce5f60025d0dd547d218458b1b7a2d1a58afed2c..df6d8718f51783d57f0b5fa5b18fa7ea77b4d1f3 100644 --- a/runtime/starpu/codelets/codelet_zherk.c +++ b/runtime/starpu/codelets/codelet_zherk.c @@ -64,9 +64,6 @@ void MORSE_TASK_zherk(const MORSE_option_t *options, STARPU_VALUE, &ldc, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zherk", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zhessq.c b/runtime/starpu/codelets/codelet_zhessq.c index 8faa15d0bdb077fdb9beb00d5447d30527acb510..aa3904e76b52547f874d31d82d53ca9d9bd15088 100644 --- a/runtime/starpu/codelets/codelet_zhessq.c +++ b/runtime/starpu/codelets/codelet_zhessq.c @@ -44,9 +44,6 @@ void MORSE_TASK_zhessq( const MORSE_option_t *options, STARPU_RW, RTBLKADDR(SCALESUMSQ, double, SCALESUMSQm, SCALESUMSQn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zhessq", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlacpy.c b/runtime/starpu/codelets/codelet_zlacpy.c index c36bc9f8ea3ecf4e7cf96e99c9b500346d4d180a..c70e6b6805ef7a377f52e6f25acb80b3ab93c8d0 100644 --- a/runtime/starpu/codelets/codelet_zlacpy.c +++ b/runtime/starpu/codelets/codelet_zlacpy.c @@ -63,9 +63,6 @@ void MORSE_TASK_zlacpyx(const MORSE_option_t *options, STARPU_VALUE, &ldb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlacpy", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlag2c.c b/runtime/starpu/codelets/codelet_zlag2c.c index f3b0f2a8696880408e3392bded7181e08d43b6fa..7996cc8017ba21776e07bc0993e43d75ba3f9bd6 100644 --- a/runtime/starpu/codelets/codelet_zlag2c.c +++ b/runtime/starpu/codelets/codelet_zlag2c.c @@ -57,9 +57,6 @@ void MORSE_TASK_zlag2c(const MORSE_option_t *options, STARPU_VALUE, &ldb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlag2c", -#endif 0); } } @@ -103,9 +100,6 @@ void MORSE_TASK_clag2z(const MORSE_option_t *options, STARPU_VALUE, &ldb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "clag2z", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlange.c b/runtime/starpu/codelets/codelet_zlange.c index ef031041e5f0beac8cc2d8f2f51afeb859476522..219487ed70fdc9345a65b3c43ae0a87744514b34 100644 --- a/runtime/starpu/codelets/codelet_zlange.c +++ b/runtime/starpu/codelets/codelet_zlange.c @@ -50,9 +50,6 @@ void MORSE_TASK_zlange(const MORSE_option_t *options, STARPU_W, RTBLKADDR(B, double, Bm, Bn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlange", -#endif 0); } } @@ -94,9 +91,6 @@ void MORSE_TASK_zlange_max(const MORSE_option_t *options, STARPU_RW, RTBLKADDR(B, double, Bm, Bn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlange_max", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlanhe.c b/runtime/starpu/codelets/codelet_zlanhe.c index c547eac267ff438c28153c582504c9996ceecbef..529899eece704c3d9d32fff0de1989e435ad5b2b 100644 --- a/runtime/starpu/codelets/codelet_zlanhe.c +++ b/runtime/starpu/codelets/codelet_zlanhe.c @@ -48,9 +48,6 @@ void MORSE_TASK_zlanhe(const MORSE_option_t *options, STARPU_W, RTBLKADDR(B, double, Bm, Bn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlanhe", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlansy.c b/runtime/starpu/codelets/codelet_zlansy.c index 69623180d10407ce2682da1143aa6ba5553d1e80..d2973a1d34278f367e7c4cc5adee067dbb4a7330 100644 --- a/runtime/starpu/codelets/codelet_zlansy.c +++ b/runtime/starpu/codelets/codelet_zlansy.c @@ -50,9 +50,6 @@ void MORSE_TASK_zlansy(const MORSE_option_t *options, STARPU_W, RTBLKADDR(B, double, Bm, Bn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlansy", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlantr.c b/runtime/starpu/codelets/codelet_zlantr.c index e1d585f8691ec7b790606d42a767a898d76f7202..6ba5cb732817750122bb2effa8efd47c57c8fc98 100644 --- a/runtime/starpu/codelets/codelet_zlantr.c +++ b/runtime/starpu/codelets/codelet_zlantr.c @@ -49,9 +49,6 @@ void MORSE_TASK_zlantr(const MORSE_option_t *options, STARPU_W, RTBLKADDR(B, double, Bm, Bn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlantr", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlascal.c b/runtime/starpu/codelets/codelet_zlascal.c index 36af8ccb5ec6327476907326f31cd304a108a3c4..f40802665fa7899c798940aa4dc87a6f6ddf6bd2 100644 --- a/runtime/starpu/codelets/codelet_zlascal.c +++ b/runtime/starpu/codelets/codelet_zlascal.c @@ -83,9 +83,6 @@ void MORSE_TASK_zlascal(const MORSE_option_t *options, STARPU_VALUE, &lda, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlascal", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlaset.c b/runtime/starpu/codelets/codelet_zlaset.c index 4f2c84485f3ca501edb9059858c8d544342e326d..1809d5f2a743da6e9a5f3f94c8e0a54c8c2442ee 100644 --- a/runtime/starpu/codelets/codelet_zlaset.c +++ b/runtime/starpu/codelets/codelet_zlaset.c @@ -90,9 +90,6 @@ void MORSE_TASK_zlaset(const MORSE_option_t *options, STARPU_VALUE, &LDA, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlaset", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlaset2.c b/runtime/starpu/codelets/codelet_zlaset2.c index 453025b813dc45fcbdb39301a39fbc09d0493f9e..67572a47f0e60d5520d9a00cfcd5ed73051f4e73 100644 --- a/runtime/starpu/codelets/codelet_zlaset2.c +++ b/runtime/starpu/codelets/codelet_zlaset2.c @@ -86,9 +86,6 @@ void MORSE_TASK_zlaset2(const MORSE_option_t *options, STARPU_VALUE, &LDA, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlaset2", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zlatro.c b/runtime/starpu/codelets/codelet_zlatro.c index cf3433112f9039f28d54f3b67b9432972a2a5928..5f0a2ea0401732cb7308b95cbb72ce041fde09c4 100644 --- a/runtime/starpu/codelets/codelet_zlatro.c +++ b/runtime/starpu/codelets/codelet_zlatro.c @@ -62,7 +62,7 @@ void MORSE_TASK_zlatro(const MORSE_option_t *options, STARPU_VALUE, &ldb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) +#ifdef STARPU_12 STARPU_NAME, "zlatro", #endif 0); diff --git a/runtime/starpu/codelets/codelet_zlauum.c b/runtime/starpu/codelets/codelet_zlauum.c index 5539ca63f24864743de95d6c6f20ebc6c42e6dd0..d30eb3740569300708b4a9eec8eda5ac5cdce17c 100644 --- a/runtime/starpu/codelets/codelet_zlauum.c +++ b/runtime/starpu/codelets/codelet_zlauum.c @@ -56,9 +56,6 @@ void MORSE_TASK_zlauum(const MORSE_option_t *options, STARPU_VALUE, &lda, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zlauum", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zplghe.c b/runtime/starpu/codelets/codelet_zplghe.c index 42d3b73204686ca29fa6df74321b556c3fc612ce..186d9b21078b8ba4d150676cd2a8f83f2237a5b1 100644 --- a/runtime/starpu/codelets/codelet_zplghe.c +++ b/runtime/starpu/codelets/codelet_zplghe.c @@ -56,9 +56,6 @@ void MORSE_TASK_zplghe( const MORSE_option_t *options, STARPU_VALUE, &seed, sizeof(unsigned long long int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zplghe", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zplgsy.c b/runtime/starpu/codelets/codelet_zplgsy.c index 027b804895ccd186788aab70100567101622df62..854947480d870e70cda6d26fbb3318ee712ef1b5 100644 --- a/runtime/starpu/codelets/codelet_zplgsy.c +++ b/runtime/starpu/codelets/codelet_zplgsy.c @@ -57,9 +57,6 @@ void MORSE_TASK_zplgsy( const MORSE_option_t *options, STARPU_VALUE, &seed, sizeof(unsigned long long int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zplgsy", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zplrnt.c b/runtime/starpu/codelets/codelet_zplrnt.c index 7c6d3556d6555cc2c173405b71bca5db7f7d9154..1935dd343f500b6812750524670a5416c0806e36 100644 --- a/runtime/starpu/codelets/codelet_zplrnt.c +++ b/runtime/starpu/codelets/codelet_zplrnt.c @@ -55,9 +55,6 @@ void MORSE_TASK_zplrnt( const MORSE_option_t *options, STARPU_VALUE, &seed, sizeof(unsigned long long int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zplrnt", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zplssq.c b/runtime/starpu/codelets/codelet_zplssq.c index 25de90a799b9d4a88a439110bee908a8bdd63839..65b51032eab7740e275ec64339b36426b02e7676 100644 --- a/runtime/starpu/codelets/codelet_zplssq.c +++ b/runtime/starpu/codelets/codelet_zplssq.c @@ -72,9 +72,6 @@ void MORSE_TASK_zplssq( const MORSE_option_t *options, STARPU_RW, RTBLKADDR(SCLSSQ, double, SCLSSQm, SCLSSQn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zplssq", -#endif 0); } } @@ -113,9 +110,6 @@ void MORSE_TASK_zplssq2( const MORSE_option_t *options, STARPU_RW, RTBLKADDR(RESULT, double, RESULTm, RESULTn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zplssq2", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zpotrf.c b/runtime/starpu/codelets/codelet_zpotrf.c index af1449231caf29f5fb4be0eb28de91d15dc41e9c..abfd477a2709f11b0d2f1f7a73ddef843dbfb467 100644 --- a/runtime/starpu/codelets/codelet_zpotrf.c +++ b/runtime/starpu/codelets/codelet_zpotrf.c @@ -59,9 +59,6 @@ void MORSE_TASK_zpotrf(const MORSE_option_t *options, /* STARPU_SCRATCH, options->ws_worker, */ STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zpotrf", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zssssm.c b/runtime/starpu/codelets/codelet_zssssm.c index 79c90bb56098fd44afe6c1da8cfa4a2d39f02657..3a59f77080530cc1c9881fb885c346f4b4155d4c 100644 --- a/runtime/starpu/codelets/codelet_zssssm.c +++ b/runtime/starpu/codelets/codelet_zssssm.c @@ -139,9 +139,6 @@ void MORSE_TASK_zssssm(const MORSE_option_t *options, STARPU_VALUE, &IPIV, sizeof(int*), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zssssm", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zsymm.c b/runtime/starpu/codelets/codelet_zsymm.c index d7d557ef7765991cfaa06f39d6e57a50f2ba396b..030ccc1b7016d49b304c00b2b50776e82841b2eb 100644 --- a/runtime/starpu/codelets/codelet_zsymm.c +++ b/runtime/starpu/codelets/codelet_zsymm.c @@ -68,9 +68,6 @@ void MORSE_TASK_zsymm(const MORSE_option_t *options, STARPU_VALUE, &ldc, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zsymm", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zsyr2k.c b/runtime/starpu/codelets/codelet_zsyr2k.c index a9d7a0ed2acbdee7791b7f33004ac4a9d2be0dfc..b3bebf3b051647fcdafe93cafa4c48b98e062581 100644 --- a/runtime/starpu/codelets/codelet_zsyr2k.c +++ b/runtime/starpu/codelets/codelet_zsyr2k.c @@ -68,9 +68,6 @@ void MORSE_TASK_zsyr2k(const MORSE_option_t *options, STARPU_VALUE, &ldc, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zsyr2k", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zsyrk.c b/runtime/starpu/codelets/codelet_zsyrk.c index 33e07811c1ce53717e4d073ad0b43c3afcf48587..98e472cc47cc4d92bc01e46b048c27dc39f09b2f 100644 --- a/runtime/starpu/codelets/codelet_zsyrk.c +++ b/runtime/starpu/codelets/codelet_zsyrk.c @@ -64,9 +64,6 @@ void MORSE_TASK_zsyrk(const MORSE_option_t *options, STARPU_VALUE, &ldc, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zsyrk", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zsyssq.c b/runtime/starpu/codelets/codelet_zsyssq.c index 29d2f2df3b7e3f51ad905e2dea16e8dad92c87cd..62fe8f524a522c8054230b4795c94655cf0ae750 100644 --- a/runtime/starpu/codelets/codelet_zsyssq.c +++ b/runtime/starpu/codelets/codelet_zsyssq.c @@ -44,9 +44,6 @@ void MORSE_TASK_zsyssq( const MORSE_option_t *options, STARPU_RW, RTBLKADDR(SCALESUMSQ, double, SCALESUMSQm, SCALESUMSQn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zsyssq", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zsytrf_nopiv.c b/runtime/starpu/codelets/codelet_zsytrf_nopiv.c index 6a375295fbd1f45d5554dcdb871dd0284a42b872..6320ea9a701ba4597dd90b4dea3a477a20ecbd5d 100644 --- a/runtime/starpu/codelets/codelet_zsytrf_nopiv.c +++ b/runtime/starpu/codelets/codelet_zsytrf_nopiv.c @@ -53,9 +53,6 @@ void MORSE_TASK_zsytrf_nopiv(const MORSE_option_t *options, /* STARPU_SCRATCH, options->ws_worker, */ STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zsytrf_nopiv", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztile_zero.c b/runtime/starpu/codelets/codelet_ztile_zero.c index 567e231a6008aa3dd9a6d4ae33400f52a22c55f0..d8f1a1fb64fc0e0f48d5a8df3c0f6ed86f3e342f 100644 --- a/runtime/starpu/codelets/codelet_ztile_zero.c +++ b/runtime/starpu/codelets/codelet_ztile_zero.c @@ -50,9 +50,6 @@ void MORSE_TASK_ztile_zero(const const MORSE_option_t *options, STARPU_VALUE, &lda, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, NULL, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztile_zero", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztradd.c b/runtime/starpu/codelets/codelet_ztradd.c index 53cab26a45dad0d556c5b66120c8ec2bb4eaba24..24d532ddd6003aae04ad120709fd572eb156ea7c 100644 --- a/runtime/starpu/codelets/codelet_ztradd.c +++ b/runtime/starpu/codelets/codelet_ztradd.c @@ -112,9 +112,6 @@ void MORSE_TASK_ztradd(const MORSE_option_t *options, STARPU_VALUE, &ldb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztradd", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztrasm.c b/runtime/starpu/codelets/codelet_ztrasm.c index f8aa3743e2500d905a350efff4e8be8bdd937a84..7ad655c07eff232cebcd0af44049233189b03be3 100644 --- a/runtime/starpu/codelets/codelet_ztrasm.c +++ b/runtime/starpu/codelets/codelet_ztrasm.c @@ -46,9 +46,6 @@ void MORSE_TASK_ztrasm(const MORSE_option_t *options, STARPU_RW, RTBLKADDR(B, double, Bm, Bn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztrasm", -#endif 0); } diff --git a/runtime/starpu/codelets/codelet_ztrmm.c b/runtime/starpu/codelets/codelet_ztrmm.c index 745d429bdffbcd1d72b92126056b50c86c48858c..9878b02fcd81ff9164d43a9c79b9d7b99dfdc943 100644 --- a/runtime/starpu/codelets/codelet_ztrmm.c +++ b/runtime/starpu/codelets/codelet_ztrmm.c @@ -65,9 +65,6 @@ void MORSE_TASK_ztrmm(const MORSE_option_t *options, STARPU_VALUE, &ldb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztrmm", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztrsm.c b/runtime/starpu/codelets/codelet_ztrsm.c index 4bbea5e1a6b5aa276493c8b62b07bc5f06709edd..e009a14b374327a452aebcc8cd829453d92a9f0d 100644 --- a/runtime/starpu/codelets/codelet_ztrsm.c +++ b/runtime/starpu/codelets/codelet_ztrsm.c @@ -86,9 +86,6 @@ void MORSE_TASK_ztrsm(const MORSE_option_t *options, STARPU_CALLBACK, callback, #if defined(CHAMELEON_USE_MPI) STARPU_EXECUTE_ON_NODE, execution_rank, -#endif -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztrsm", #endif 0); } diff --git a/runtime/starpu/codelets/codelet_ztrssq.c b/runtime/starpu/codelets/codelet_ztrssq.c index 92ef401a197c6132356374321a0f63b60b575de3..910a81d3c9c72d93ae3cb0f790639870df84c0c8 100644 --- a/runtime/starpu/codelets/codelet_ztrssq.c +++ b/runtime/starpu/codelets/codelet_ztrssq.c @@ -47,9 +47,6 @@ void MORSE_TASK_ztrssq( const MORSE_option_t *options, STARPU_RW, RTBLKADDR(SCALESUMSQ, double, SCALESUMSQm, SCALESUMSQn), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztrssq", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztrtri.c b/runtime/starpu/codelets/codelet_ztrtri.c index 962ef0b7663957d3f6e56ce01832a0efbe44a51d..49e1ca9457e4f2b830da5a664ffdaf5ac3d9aaee 100644 --- a/runtime/starpu/codelets/codelet_ztrtri.c +++ b/runtime/starpu/codelets/codelet_ztrtri.c @@ -60,9 +60,6 @@ void MORSE_TASK_ztrtri(const MORSE_option_t *options, STARPU_VALUE, &iinfo, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztrtri", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztslqt.c b/runtime/starpu/codelets/codelet_ztslqt.c index 653dffff04fa2b127c197b26889b80b20330bcf1..137275a6822ee791a3a495ffc6c0b51086767634 100644 --- a/runtime/starpu/codelets/codelet_ztslqt.c +++ b/runtime/starpu/codelets/codelet_ztslqt.c @@ -140,9 +140,6 @@ void MORSE_TASK_ztslqt(const MORSE_option_t *options, STARPU_VALUE, &h_work, sizeof(MORSE_starpu_ws_t *), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztslqt", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztsmlq.c b/runtime/starpu/codelets/codelet_ztsmlq.c index 4215279ed58edd836ddd9f0555f974c6201cdfa5..88128117d6db2449768a70b933f8d62d5de49174 100644 --- a/runtime/starpu/codelets/codelet_ztsmlq.c +++ b/runtime/starpu/codelets/codelet_ztsmlq.c @@ -173,9 +173,6 @@ void MORSE_TASK_ztsmlq(const MORSE_option_t *options, STARPU_VALUE, &ldwork, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztsmlq", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztsmlq_hetra1.c b/runtime/starpu/codelets/codelet_ztsmlq_hetra1.c index da3a7516e47f2eaa77b35e72340e2664c6b47830..ef13963bb922c075e40c9fa7cb29455f05a445d6 100644 --- a/runtime/starpu/codelets/codelet_ztsmlq_hetra1.c +++ b/runtime/starpu/codelets/codelet_ztsmlq_hetra1.c @@ -74,9 +74,6 @@ void MORSE_TASK_ztsmlq_hetra1(const MORSE_option_t *options, STARPU_VALUE, &ldwork, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztsmlq_hetra1", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_ztsmqr.c b/runtime/starpu/codelets/codelet_ztsmqr.c index 661b597e69800819b25f6c18a091734e503317da..16f2475b3c1d228827eaae3b682bcd482c416622 100644 --- a/runtime/starpu/codelets/codelet_ztsmqr.c +++ b/runtime/starpu/codelets/codelet_ztsmqr.c @@ -199,7 +199,7 @@ void MORSE_TASK_ztsmqr(const MORSE_option_t *options, STARPU_VALUE, &ldwork, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) +#ifdef STARPU_12 STARPU_NAME, "ztsmqr", #endif #if defined(CHAMELEON_USE_MPI) diff --git a/runtime/starpu/codelets/codelet_ztsmqr_hetra1.c b/runtime/starpu/codelets/codelet_ztsmqr_hetra1.c index 2af83b5d23cd6239f9217ad18235bb774071d240..94597b6a905dfdcb923a8acc699d37cb7305e8a2 100644 --- a/runtime/starpu/codelets/codelet_ztsmqr_hetra1.c +++ b/runtime/starpu/codelets/codelet_ztsmqr_hetra1.c @@ -73,7 +73,7 @@ void MORSE_TASK_ztsmqr_hetra1(const MORSE_option_t *options, STARPU_VALUE, &ldwork, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) +#ifdef STARPU_12 STARPU_NAME, "ztsmqr_hetra1", #endif 0); diff --git a/runtime/starpu/codelets/codelet_ztsqrt.c b/runtime/starpu/codelets/codelet_ztsqrt.c index 63660c0a9a6bbf2acf632d581935cb5b08e95ebe..0d8a8a9aa737ecbf44aa18a8d0c816819cdf2463 100644 --- a/runtime/starpu/codelets/codelet_ztsqrt.c +++ b/runtime/starpu/codelets/codelet_ztsqrt.c @@ -129,7 +129,7 @@ void MORSE_TASK_ztsqrt(const MORSE_option_t *options, STARPU_VALUE, &h_work, sizeof(MORSE_starpu_ws_t *), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) +#ifdef STARPU_12 STARPU_NAME, "ztsqrt", #endif STARPU_EXECUTE_ON_NODE, A2->get_rankof(A2, A2m, A2n), diff --git a/runtime/starpu/codelets/codelet_ztstrf.c b/runtime/starpu/codelets/codelet_ztstrf.c index f1ae6bb1722bda85e2738e8743074d0e7913ec55..2ba801d75f075ea69511ac51c60f0f4585c60f18 100644 --- a/runtime/starpu/codelets/codelet_ztstrf.c +++ b/runtime/starpu/codelets/codelet_ztstrf.c @@ -137,9 +137,6 @@ void MORSE_TASK_ztstrf(const MORSE_option_t *options, STARPU_VALUE, &iinfo, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "ztstrf", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zttlqt.c b/runtime/starpu/codelets/codelet_zttlqt.c index 518d965e8a2794ea57d72f69ee97cee973fbabee..1eac70c5dd6883e8a4533d1a7f289e0a9408ce56 100644 --- a/runtime/starpu/codelets/codelet_zttlqt.c +++ b/runtime/starpu/codelets/codelet_zttlqt.c @@ -136,9 +136,6 @@ void MORSE_TASK_zttlqt(const MORSE_option_t *options, STARPU_SCRATCH, options->ws_worker, STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zttlqt", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zttmlq.c b/runtime/starpu/codelets/codelet_zttmlq.c index cd6fbaff4bec64f248a983af6df78dbb0b7398d0..c3ec7be24e3bb149cb546e3d8b001a4b9fb963d9 100644 --- a/runtime/starpu/codelets/codelet_zttmlq.c +++ b/runtime/starpu/codelets/codelet_zttmlq.c @@ -166,9 +166,6 @@ void MORSE_TASK_zttmlq(const MORSE_option_t *options, STARPU_VALUE, &ldwork, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zttmlq", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zttmqr.c b/runtime/starpu/codelets/codelet_zttmqr.c index 453ed0af0606b827ad3cce9da3575c183415721d..215c1870192806d8691ed667ca80111647b0f47f 100644 --- a/runtime/starpu/codelets/codelet_zttmqr.c +++ b/runtime/starpu/codelets/codelet_zttmqr.c @@ -194,9 +194,6 @@ void MORSE_TASK_zttmqr(const MORSE_option_t *options, STARPU_CALLBACK, callback, #if defined(CHAMELEON_USE_MPI) STARPU_EXECUTE_ON_NODE, execution_rank, -#endif -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zttmqr", #endif 0); } diff --git a/runtime/starpu/codelets/codelet_zttqrt.c b/runtime/starpu/codelets/codelet_zttqrt.c index a5bf954ce62c6fdf520c72f9e7f78352c33c2f8b..3f5fd2ab38042a9b0cf41805d719953a5436d327 100644 --- a/runtime/starpu/codelets/codelet_zttqrt.c +++ b/runtime/starpu/codelets/codelet_zttqrt.c @@ -136,9 +136,6 @@ void MORSE_TASK_zttqrt(const MORSE_option_t *options, STARPU_SCRATCH, options->ws_worker, STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zttqrt", -#endif 0); } } diff --git a/runtime/starpu/codelets/codelet_zunmlq.c b/runtime/starpu/codelets/codelet_zunmlq.c index a615c4784ccf2375a9a16d8bf54445f8122b9765..b3e973a09845cc30fa6b1109e7bc749e09eac0b8 100644 --- a/runtime/starpu/codelets/codelet_zunmlq.c +++ b/runtime/starpu/codelets/codelet_zunmlq.c @@ -150,7 +150,7 @@ void MORSE_TASK_zunmlq(const MORSE_option_t *options, STARPU_VALUE, &nb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, -#if defined(CHAMELEON_CODELETS_HAVE_NAME) +#ifdef STARPU_12 STARPU_NAME, "zunmlq", #endif 0); diff --git a/runtime/starpu/codelets/codelet_zunmqr.c b/runtime/starpu/codelets/codelet_zunmqr.c index acb7279eda15aeb8f3c2d8cb60ef6e7be517796a..32c6d14acd4e8b95b38ae7189c37ad2684fc15b8 100644 --- a/runtime/starpu/codelets/codelet_zunmqr.c +++ b/runtime/starpu/codelets/codelet_zunmqr.c @@ -172,11 +172,11 @@ void MORSE_TASK_zunmqr(const MORSE_option_t *options, STARPU_VALUE, &nb, sizeof(int), STARPU_PRIORITY, options->priority, STARPU_CALLBACK, callback, +#ifdef STARPU_12 + STARPU_NAME, "zunmqr", +#endif #if defined(CHAMELEON_USE_MPI) STARPU_EXECUTE_ON_NODE, execution_rank, -#endif -#if defined(CHAMELEON_CODELETS_HAVE_NAME) - STARPU_NAME, "zunmqr", #endif 0); } diff --git a/runtime/starpu/control/runtime_descriptor.c b/runtime/starpu/control/runtime_descriptor.c index 5bd0ca72010ce1a0ab6b775d48a34e4aee54dc8e..c25460a91e737c896e0adc4d952d2ec72d8d6fb3 100644 --- a/runtime/starpu/control/runtime_descriptor.c +++ b/runtime/starpu/control/runtime_descriptor.c @@ -268,13 +268,6 @@ int RUNTIME_desc_release( MORSE_desc_t *desc ) return MORSE_SUCCESS; } -/** - * For older revision of StarPU, STARPU_MAIN_RAM is not defined - */ -#ifndef STARPU_MAIN_RAM -#define STARPU_MAIN_RAM 0 -#endif - int RUNTIME_desc_getoncpu( MORSE_desc_t *desc ) { starpu_data_handle_t *handle = (starpu_data_handle_t*)(desc->schedopt); @@ -322,9 +315,15 @@ void *RUNTIME_desc_getaddr( const MORSE_desc_t *desc, int m, int n ) BLKLDD(desc, im), tempmm, tempnn, eltsze); } else { +#ifdef STARPU_12 starpu_matrix_data_register(ptrtile, STARPU_MAIN_RAM, (uintptr_t)desc->get_blkaddr(desc, m, n), BLKLDD(desc, im), tempmm, tempnn, eltsze); +#else + starpu_matrix_data_register(ptrtile, 0, + (uintptr_t)desc->get_blkaddr(desc, m, n), + BLKLDD(desc, im), tempmm, tempnn, eltsze); +#endif } } else { diff --git a/runtime/starpu/include/morse_starpu.h b/runtime/starpu/include/morse_starpu.h index efbc57cf1c1ec1e176f14fded91b827589ad411d..de46d065e5b6223848f6b6ee1e017b045de5b868 100644 --- a/runtime/starpu/include/morse_starpu.h +++ b/runtime/starpu/include/morse_starpu.h @@ -64,13 +64,6 @@ typedef struct starpu_conf starpu_conf_t; #endif /* - * Enable codelets names - */ -#if (STARPU_MAJOR_VERSION > 1) || ((STARPU_MAJOR_VERSION == 1) && (STARPU_MINOR_VERSION > 1)) -#define CHAMELEON_CODELETS_HAVE_NAME -#endif - -/** * Access to block pointer and leading dimension */ #define RTBLKADDR( desc, type, m, n ) ( (starpu_data_handle_t)RUNTIME_desc_getaddr( desc, m, n ) )