Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 036be0d1 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

codelet/lacpy: Protect lacpy in starpu codelet

parent 8c9825d5
No related branches found
No related tags found
1 merge request!307GETRF NOPIV: Use explicit workspaces to control the communication flow
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* @author Florent Pruvost * @author Florent Pruvost
* @author Samuel Thibault * @author Samuel Thibault
* @author Alycia Lisito * @author Alycia Lisito
* @date 2024-03-16 * @date 2024-10-17
* @precisions normal z -> c d s * @precisions normal z -> c d s
* *
*/ */
...@@ -148,7 +148,8 @@ void INSERT_TASK_zlacpyx( const RUNTIME_option_t *options, ...@@ -148,7 +148,8 @@ void INSERT_TASK_zlacpyx( const RUNTIME_option_t *options,
#if !defined(CHAMELEON_USE_MPI) || defined(HAVE_STARPU_MPI_DATA_CPY_PRIORITY) #if !defined(CHAMELEON_USE_MPI) || defined(HAVE_STARPU_MPI_DATA_CPY_PRIORITY)
/* Insert the task */ /* Insert the task */
if ( (uplo == ChamUpperLower) && if ( (!options->withlacpy) &&
(uplo == ChamUpperLower) &&
(tileA->m == m) && (tileA->n == n) && (tileA->m == m) && (tileA->n == n) &&
(tileB->m == m) && (tileB->n == n) && (tileB->m == m) && (tileB->n == n) &&
(displA == 0) && (displB == 0) ) (displA == 0) && (displB == 0) )
...@@ -225,7 +226,8 @@ void INSERT_TASK_zlacpy( const RUNTIME_option_t *options, ...@@ -225,7 +226,8 @@ void INSERT_TASK_zlacpy( const RUNTIME_option_t *options,
#if !defined(CHAMELEON_USE_MPI) || defined(HAVE_STARPU_MPI_DATA_CPY_PRIORITY) #if !defined(CHAMELEON_USE_MPI) || defined(HAVE_STARPU_MPI_DATA_CPY_PRIORITY)
/* Insert the task */ /* Insert the task */
if ( (uplo == ChamUpperLower) && if ( (!options->withlacpy) &&
(uplo == ChamUpperLower) &&
(tileA->m == m) && (tileA->n == n) && (tileA->m == m) && (tileA->n == n) &&
(tileB->m == m) && (tileB->n == n) ) (tileB->m == m) && (tileB->n == n) )
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment