diff --git a/runtime/openmp/codelets/codelet_ipiv.c b/runtime/openmp/codelets/codelet_ipiv.c index d6386bb58d09d584cc066371cb18bd6be3fad3b7..548d688fb10388791d18df0dbd495ee9e969a01a 100644 --- a/runtime/openmp/codelets/codelet_ipiv.c +++ b/runtime/openmp/codelets/codelet_ipiv.c @@ -28,13 +28,14 @@ void INSERT_TASK_ipiv_init( const RUNTIME_option_t *options, } void INSERT_TASK_ipiv_reducek( const RUNTIME_option_t *options, - CHAM_ipiv_t *ipiv, int k, int h ) + CHAM_ipiv_t *ipiv, int k, int h, int rank ) { assert( 0 ); (void)options; (void)ipiv; (void)k; (void)h; + (void)rank; } void INSERT_TASK_ipiv_to_perm( const RUNTIME_option_t *options, diff --git a/runtime/openmp/codelets/codelet_zipiv_allreduce.c b/runtime/openmp/codelets/codelet_zipiv_allreduce.c new file mode 100644 index 0000000000000000000000000000000000000000..b088283254cd64e1bada1628939436327b8a2789 --- /dev/null +++ b/runtime/openmp/codelets/codelet_zipiv_allreduce.c @@ -0,0 +1,35 @@ +/** + * + * @file openmp/codelet_zipiv_allreduce.c + * + * @copyright 2012-2024 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, + * Univ. Bordeaux. All rights reserved. + * + *** + * + * @brief Chameleon openmp codelets to do the reduction + * + * @version 1.3.0 + * @author Alycia Lisito + * @date 2024-06-11 + * @precisions normal z -> c d s + * + */ +#include "chameleon_openmp.h" + +void INSERT_TASK_zipiv_allreduce( CHAM_desc_t *A, + const RUNTIME_option_t *options, + CHAM_ipiv_t *ipiv, + int *proc_involved, + int k, + int h, + int n ) +{ + (void)A; + (void)options; + (void)ipiv; + (void)proc_involved; + (void)k; + (void)h; + (void)n; +} diff --git a/runtime/openmp/control/runtime_descriptor_ipiv.c b/runtime/openmp/control/runtime_descriptor_ipiv.c index 9514b6fd067af22b09d4c224e01eb0c87f4e4de1..3a727f01c3ae30eef51ee4273096b704d9e8e777 100644 --- a/runtime/openmp/control/runtime_descriptor_ipiv.c +++ b/runtime/openmp/control/runtime_descriptor_ipiv.c @@ -12,21 +12,27 @@ * @version 1.3.0 * @author Mathieu Faverge * @author Matthieu Kuhn + * @author Alycia Lisito + * @author Florent Pruvost * @date 2024-03-16 * */ #include "chameleon_openmp.h" -void RUNTIME_ipiv_create( CHAM_ipiv_t *ipiv ) +void RUNTIME_ipiv_create( CHAM_ipiv_t *ipiv, + const CHAM_desc_t *desc ) { assert( 0 ); (void)ipiv; + (void)desc; } -void RUNTIME_ipiv_destroy( CHAM_ipiv_t *ipiv ) +void RUNTIME_ipiv_destroy( CHAM_ipiv_t *ipiv, + const CHAM_desc_t *desc ) { assert( 0 ); (void)ipiv; + (void)desc; } void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m ) @@ -37,19 +43,21 @@ void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m ) return NULL; } -void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) +void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int rank, int m, int h ) { assert( 0 ); (void)ipiv; + (void)rank; (void)m; (void)h; return NULL; } -void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) +void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int rank, int m, int h ) { assert( 0 ); (void)ipiv; + (void)rank; (void)m; (void)h; return NULL; diff --git a/runtime/parsec/codelets/codelet_ipiv.c b/runtime/parsec/codelets/codelet_ipiv.c index b9ac7e05468ba805c97dac09f75ef1c37c63f928..46fee3ee85ac11a6a6cac20febfdd2f6ddde9712 100644 --- a/runtime/parsec/codelets/codelet_ipiv.c +++ b/runtime/parsec/codelets/codelet_ipiv.c @@ -28,13 +28,14 @@ void INSERT_TASK_ipiv_init( const RUNTIME_option_t *options, } void INSERT_TASK_ipiv_reducek( const RUNTIME_option_t *options, - CHAM_ipiv_t *ipiv, int k, int h ) + CHAM_ipiv_t *ipiv, int k, int h, int rank ) { assert( 0 ); (void)options; (void)ipiv; (void)k; (void)h; + (void)rank; } static inline int diff --git a/runtime/parsec/codelets/codelet_zipiv_allreduce.c b/runtime/parsec/codelets/codelet_zipiv_allreduce.c new file mode 100644 index 0000000000000000000000000000000000000000..75e0611647a464cad9c37e59a5619ebefaae19ed --- /dev/null +++ b/runtime/parsec/codelets/codelet_zipiv_allreduce.c @@ -0,0 +1,35 @@ +/** + * + * @file parsec/codelet_zipiv_allreduce.c + * + * @copyright 2012-2024 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, + * Univ. Bordeaux. All rights reserved. + * + *** + * + * @brief Chameleon parsec codelets to do the reduction + * + * @version 1.3.0 + * @author Alycia Lisito + * @date 2024-06-11 + * @precisions normal z -> c d s + * + */ +#include "chameleon_parsec.h" + +void INSERT_TASK_zipiv_allreduce( CHAM_desc_t *A, + const RUNTIME_option_t *options, + CHAM_ipiv_t *ipiv, + int *proc_involved, + int k, + int h, + int n ) +{ + (void)A; + (void)options; + (void)ipiv; + (void)proc_involved; + (void)k; + (void)h; + (void)n; +} diff --git a/runtime/parsec/control/runtime_descriptor_ipiv.c b/runtime/parsec/control/runtime_descriptor_ipiv.c index 53621950fff15975835e686fabc48c6fd3e7d9e4..6108199eb0fb89ffdb359afa48b725e79de86fdf 100644 --- a/runtime/parsec/control/runtime_descriptor_ipiv.c +++ b/runtime/parsec/control/runtime_descriptor_ipiv.c @@ -12,21 +12,27 @@ * @version 1.3.0 * @author Mathieu Faverge * @author Matthieu Kuhn + * @author Alycia Lisito + * @author Florent Pruvost * @date 2024-03-16 * */ #include "chameleon_parsec.h" -void RUNTIME_ipiv_create( CHAM_ipiv_t *ipiv ) +void RUNTIME_ipiv_create( CHAM_ipiv_t *ipiv, + const CHAM_desc_t *desc ) { assert( 0 ); (void)ipiv; + (void)desc; } -void RUNTIME_ipiv_destroy( CHAM_ipiv_t *ipiv ) +void RUNTIME_ipiv_destroy( CHAM_ipiv_t *ipiv, + const CHAM_desc_t *desc ) { assert( 0 ); (void)ipiv; + (void)desc; } void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m ) @@ -37,19 +43,21 @@ void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m ) return NULL; } -void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) +void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int rank, int m, int h ) { assert( 0 ); (void)ipiv; + (void)rank; (void)m; (void)h; return NULL; } -void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) +void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int rank, int m, int h ) { assert( 0 ); (void)ipiv; + (void)rank; (void)m; (void)h; return NULL; diff --git a/runtime/quark/codelets/codelet_ipiv.c b/runtime/quark/codelets/codelet_ipiv.c index ab982faf04523af148f8e8444a6469681a4a0ea6..5fc849b890a75f3447c425f1a458d11fd0c3df1c 100644 --- a/runtime/quark/codelets/codelet_ipiv.c +++ b/runtime/quark/codelets/codelet_ipiv.c @@ -28,13 +28,14 @@ void INSERT_TASK_ipiv_init( const RUNTIME_option_t *options, } void INSERT_TASK_ipiv_reducek( const RUNTIME_option_t *options, - CHAM_ipiv_t *ipiv, int k, int h ) + CHAM_ipiv_t *ipiv, int k, int h, int rank ) { assert( 0 ); (void)options; (void)ipiv; (void)k; (void)h; + (void)rank; } static inline void diff --git a/runtime/quark/codelets/codelet_zipiv_allreduce.c b/runtime/quark/codelets/codelet_zipiv_allreduce.c new file mode 100644 index 0000000000000000000000000000000000000000..e88269e931f3f210282a1382d44a6ff9516c7453 --- /dev/null +++ b/runtime/quark/codelets/codelet_zipiv_allreduce.c @@ -0,0 +1,35 @@ +/** + * + * @file quark/codelet_zipiv_allreduce.c + * + * @copyright 2012-2024 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, + * Univ. Bordeaux. All rights reserved. + * + *** + * + * @brief Chameleon quark codelets to do the reduction + * + * @version 1.3.0 + * @author Alycia Lisito + * @date 2024-06-11 + * @precisions normal z -> c d s + * + */ +#include "chameleon_quark.h" + +void INSERT_TASK_zipiv_allreduce( CHAM_desc_t *A, + const RUNTIME_option_t *options, + CHAM_ipiv_t *ipiv, + int *proc_involved, + int k, + int h, + int n ) +{ + (void)A; + (void)options; + (void)ipiv; + (void)proc_involved; + (void)k; + (void)h; + (void)n; +} diff --git a/runtime/quark/control/runtime_descriptor_ipiv.c b/runtime/quark/control/runtime_descriptor_ipiv.c index 9edd6f041c266cbd6c51cea48c359d283f3f619a..f5fa28fe5a6246a3e91476d574f9e771d162d40f 100644 --- a/runtime/quark/control/runtime_descriptor_ipiv.c +++ b/runtime/quark/control/runtime_descriptor_ipiv.c @@ -12,21 +12,27 @@ * @version 1.3.0 * @author Mathieu Faverge * @author Matthieu Kuhn + * @author Alycia Lisito + * @author Florent Pruvost * @date 2024-03-16 * */ #include "chameleon_quark.h" -void RUNTIME_ipiv_create( CHAM_ipiv_t *ipiv ) +void RUNTIME_ipiv_create( CHAM_ipiv_t *ipiv, + const CHAM_desc_t *desc ) { assert( 0 ); (void)ipiv; + (void)desc; } -void RUNTIME_ipiv_destroy( CHAM_ipiv_t *ipiv ) +void RUNTIME_ipiv_destroy( CHAM_ipiv_t *ipiv, + const CHAM_desc_t *desc ) { assert( 0 ); (void)ipiv; + (void)desc; } void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m ) @@ -37,19 +43,21 @@ void *RUNTIME_ipiv_getaddr( const CHAM_ipiv_t *ipiv, int m ) return NULL; } -void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) +void *RUNTIME_nextpiv_getaddr( const CHAM_ipiv_t *ipiv, int rank, int m, int h ) { assert( 0 ); (void)ipiv; + (void)rank; (void)m; (void)h; return NULL; } -void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int m, int h ) +void *RUNTIME_prevpiv_getaddr( const CHAM_ipiv_t *ipiv, int rank, int m, int h ) { assert( 0 ); (void)ipiv; + (void)rank; (void)m; (void)h; return NULL;