Fix Copyright message (#951)

Fix year in Copyright message of a few source files.
This commit is contained in:
Victor A. P. Magri 2023-07-20 21:27:37 -04:00 committed by GitHub
parent 9449cb919e
commit 03b9d3d090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 36 additions and 26 deletions

View File

@ -492,9 +492,16 @@ hypre_seqAMGCycle( hypre_ParAMGData *amg_data,
return (Solve_err_flag); return (Solve_err_flag);
} }
/* generate sub communicator, which contains no idle processors */ /*--------------------------------------------------------------------------
* hypre_GenerateSubComm
*
* generate sub communicator, which contains no idle processors
*--------------------------------------------------------------------------*/
HYPRE_Int hypre_GenerateSubComm(MPI_Comm comm, HYPRE_Int participate, MPI_Comm *new_comm_ptr) HYPRE_Int
hypre_GenerateSubComm(MPI_Comm comm,
HYPRE_Int participate,
MPI_Comm *new_comm_ptr)
{ {
MPI_Comm new_comm; MPI_Comm new_comm;
hypre_MPI_Group orig_group, new_group; hypre_MPI_Group orig_group, new_group;
@ -519,7 +526,8 @@ HYPRE_Int hypre_GenerateSubComm(MPI_Comm comm, HYPRE_Int participate, MPI_Comm *
{ {
new_comm = hypre_MPI_COMM_NULL; new_comm = hypre_MPI_COMM_NULL;
*new_comm_ptr = new_comm; *new_comm_ptr = new_comm;
return 0;
return hypre_error_flag;
} }
ranks = hypre_CTAlloc(HYPRE_Int, new_num_procs + 2, HYPRE_MEMORY_HOST); ranks = hypre_CTAlloc(HYPRE_Int, new_num_procs + 2, HYPRE_MEMORY_HOST);
@ -571,11 +579,17 @@ HYPRE_Int hypre_GenerateSubComm(MPI_Comm comm, HYPRE_Int participate, MPI_Comm *
*new_comm_ptr = new_comm; *new_comm_ptr = new_comm;
return 0; return hypre_error_flag;
} }
/*--------------------------------------------------------------------------
* hypre_merge_lists
*--------------------------------------------------------------------------*/
void hypre_merge_lists (HYPRE_Int *list1, HYPRE_Int* list2, hypre_int *np1, void
hypre_merge_lists(HYPRE_Int *list1,
HYPRE_Int *list2,
hypre_int *np1,
hypre_MPI_Datatype *dptr) hypre_MPI_Datatype *dptr)
{ {
HYPRE_Int i, len1, len2, indx1, indx2; HYPRE_Int i, len1, len2, indx1, indx2;

View File

@ -1,9 +1,9 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)
*******************************************************************************/ ******************************************************************************/
#include "_hypre_parcsr_ls.h" #include "_hypre_parcsr_ls.h"
#include "_hypre_utilities.hpp" #include "_hypre_utilities.hpp"

View File

@ -1,9 +1,10 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)
******************************************************************************/ ******************************************************************************/
#include "seq_mv.h" #include "seq_mv.h"
#if defined(HYPRE_USING_GPU) #if defined(HYPRE_USING_GPU)
@ -145,4 +146,3 @@ HYPRE_Int hypreDevice_CSRSpGemmBinnedGetBlockNumDim()
} }
#endif /* defined(HYPRE_USING_GPU) */ #endif /* defined(HYPRE_USING_GPU) */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)
@ -234,4 +234,3 @@ hypreDevice_CSRSpGemmNumerWithRownnzUpperbound( HYPRE_Int m,
} }
#endif /* defined(HYPRE_USING_GPU) */ #endif /* defined(HYPRE_USING_GPU) */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)

View File

@ -1,6 +1,6 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)
@ -48,4 +48,3 @@ hypreDevice_CSRSpGemmNumerPostCopy<T_GROUP_SIZE[HYPRE_SPGEMM_BIN]>
#endif #endif
#endif /* defined(HYPRE_USING_GPU) */ #endif /* defined(HYPRE_USING_GPU) */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)
@ -416,4 +416,3 @@ hypreDevice_CSRSpGemmRownnz( HYPRE_Int m,
} }
#endif /* defined(HYPRE_USING_GPU) */ #endif /* defined(HYPRE_USING_GPU) */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)

View File

@ -1,6 +1,6 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)
@ -38,4 +38,3 @@ hypre_spgemm_symbolic_max_num_blocks
( HYPRE_Int multiProcessorCount, HYPRE_Int *num_blocks_ptr, HYPRE_Int *block_size_ptr ); ( HYPRE_Int multiProcessorCount, HYPRE_Int *num_blocks_ptr, HYPRE_Int *block_size_ptr );
#endif /* defined(HYPRE_USING_GPU) */ #endif /* defined(HYPRE_USING_GPU) */

View File

@ -1,5 +1,5 @@
/****************************************************************************** /******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other * Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details. * HYPRE Project Developers. See the top-level COPYRIGHT file for details.
* *
* SPDX-License-Identifier: (Apache-2.0 OR MIT) * SPDX-License-Identifier: (Apache-2.0 OR MIT)