Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
AMG | AMG-master/parcsr_ls/par_rap.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 82,221 | 36.356656 | 222 | c |
AMG | AMG-master/parcsr_ls/par_rap_communication.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 9,654 | 32.641115 | 88 | c |
AMG | AMG-master/parcsr_ls/par_relax.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 151,205 | 34.15601 | 98 | c |
AMG | AMG-master/parcsr_ls/par_relax_interface.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,608 | 36.59375 | 81 | c |
AMG | AMG-master/parcsr_ls/par_relax_more.c |
/******************************************************************************
*
* a few more relaxation schemes: Chebychev, FCF-Jacobi, CG -
* these do not go through the CF interface (hypre_BoomerAMGRelaxIF)
*
*****************************************************************************/
#include "_hypre_p... | 33,880 | 27.884058 | 185 | c |
AMG | AMG-master/parcsr_ls/par_scaled_matnorm.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,918 | 33.640845 | 88 | c |
AMG | AMG-master/parcsr_ls/par_stats.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 39,007 | 36.185891 | 114 | c |
AMG | AMG-master/parcsr_ls/par_strength.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 82,474 | 34.18558 | 138 | c |
AMG | AMG-master/parcsr_ls/partial.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 78,427 | 28.934351 | 95 | c |
AMG | AMG-master/parcsr_ls/pcg_par.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 8,616 | 31.764259 | 83 | c |
AMG | AMG-master/parcsr_mv/HYPRE_parcsr_matrix.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 12,975 | 34.550685 | 84 | c |
AMG | AMG-master/parcsr_mv/HYPRE_parcsr_mv.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,801 | 56.855422 | 271 | h |
AMG | AMG-master/parcsr_mv/HYPRE_parcsr_vector.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 7,715 | 32.402597 | 84 | c |
AMG | AMG-master/parcsr_mv/_hypre_parcsr_mv.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 31,325 | 60.303327 | 812 | h |
AMG | AMG-master/parcsr_mv/headers.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,030 | 34.551724 | 81 | h |
AMG | AMG-master/parcsr_mv/new_commpkg.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 27,350 | 30.914819 | 126 | c |
AMG | AMG-master/parcsr_mv/new_commpkg.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,343 | 36.333333 | 81 | h |
AMG | AMG-master/parcsr_mv/par_csr_assumed_part.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 17,884 | 31.400362 | 103 | c |
AMG | AMG-master/parcsr_mv/par_csr_assumed_part.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,422 | 36.447368 | 81 | h |
AMG | AMG-master/parcsr_mv/par_csr_communication.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 31,643 | 35.709977 | 108 | c |
AMG | AMG-master/parcsr_mv/par_csr_communication.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 5,177 | 39.453125 | 87 | h |
AMG | AMG-master/parcsr_mv/par_csr_matop.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 125,091 | 32.154519 | 194 | c |
AMG | AMG-master/parcsr_mv/par_csr_matop_marked.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 51,595 | 37.940377 | 88 | c |
AMG | AMG-master/parcsr_mv/par_csr_matrix.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 73,331 | 32.93429 | 109 | c |
AMG | AMG-master/parcsr_mv/par_csr_matrix.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 9,164 | 49.357143 | 87 | h |
AMG | AMG-master/parcsr_mv/par_csr_matvec.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 22,782 | 34.992101 | 94 | c |
AMG | AMG-master/parcsr_mv/par_vector.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 35,481 | 31.732472 | 109 | c |
AMG | AMG-master/parcsr_mv/par_vector.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,376 | 39.202381 | 94 | h |
AMG | AMG-master/seq_mv/HYPRE_csr_matrix.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,645 | 31.553571 | 81 | c |
AMG | AMG-master/seq_mv/HYPRE_seq_mv.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,825 | 30.619835 | 104 | h |
AMG | AMG-master/seq_mv/HYPRE_vector.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,727 | 33.1 | 81 | c |
AMG | AMG-master/seq_mv/csr_matop.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 18,537 | 27.652241 | 100 | c |
AMG | AMG-master/seq_mv/csr_matrix.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 20,095 | 28.727811 | 99 | c |
AMG | AMG-master/seq_mv/csr_matrix.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,814 | 38.329897 | 81 | h |
AMG | AMG-master/seq_mv/csr_matvec.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 24,315 | 30.335052 | 95 | c |
AMG | AMG-master/seq_mv/genpart.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,649 | 28.775281 | 108 | c |
AMG | AMG-master/seq_mv/headers.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,007 | 36.333333 | 81 | h |
AMG | AMG-master/seq_mv/seq_mv.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 8,927 | 43.864322 | 203 | h |
AMG | AMG-master/seq_mv/vector.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 14,362 | 26.88932 | 82 | c |
AMG | AMG-master/seq_mv/vector.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,725 | 41.59375 | 87 | h |
AMG | AMG-master/test/amg.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 72,432 | 29.848807 | 117 | c |
AMG | AMG-master/utilities/HYPRE_error_f.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,635 | 45.742857 | 81 | h |
AMG | AMG-master/utilities/HYPRE_utilities.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,644 | 32.178571 | 82 | h |
AMG | AMG-master/utilities/_hypre_utilities.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 45,750 | 41.089236 | 226 | h |
AMG | AMG-master/utilities/amg_linklist.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 8,328 | 29.39781 | 85 | c |
AMG | AMG-master/utilities/amg_linklist.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,674 | 30.603774 | 81 | h |
AMG | AMG-master/utilities/binsearch.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,166 | 28.055046 | 112 | c |
AMG | AMG-master/utilities/caliper_instrumentation.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,593 | 34.422222 | 83 | h |
AMG | AMG-master/utilities/exchange_data.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 21,979 | 36.508532 | 104 | c |
AMG | AMG-master/utilities/exchange_data.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,071 | 44.850746 | 92 | h |
AMG | AMG-master/utilities/general.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,111 | 33.622951 | 89 | h |
AMG | AMG-master/utilities/hypre_complex.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,306 | 25.673469 | 81 | c |
AMG | AMG-master/utilities/hypre_error.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,517 | 26.977778 | 95 | c |
AMG | AMG-master/utilities/hypre_error.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,958 | 43.522727 | 109 | h |
AMG | AMG-master/utilities/hypre_hopscotch_hash.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Jongsoo Park et al. CODE-LLNL-738-322.
* This file is part of AMG. See files README and COPYRIGHT ... | 5,274 | 25.243781 | 87 | c |
AMG | AMG-master/utilities/hypre_hopscotch_hash.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 21,351 | 31.798771 | 233 | h |
AMG | AMG-master/utilities/hypre_memory.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,033 | 21.164835 | 81 | c |
AMG | AMG-master/utilities/hypre_memory.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,292 | 35.692308 | 92 | h |
AMG | AMG-master/utilities/hypre_merge_sort.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Jongsoo Park et al. CODE-LLNL-738-322.
* This file is part of AMG. See files README and COPYRIGHT ... | 10,278 | 26.706199 | 113 | c |
AMG | AMG-master/utilities/hypre_prefix_sum.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Jongsoo Park et al. CODE-LLNL-738-322.
* This file is part of AMG. See files README and COPYRIGHT ... | 5,468 | 26.621212 | 161 | c |
AMG | AMG-master/utilities/hypre_printf.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,972 | 22.023148 | 81 | c |
AMG | AMG-master/utilities/hypre_qsort.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 9,716 | 24.638522 | 81 | c |
AMG | AMG-master/utilities/hypre_smp.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,028 | 41.875 | 81 | h |
AMG | AMG-master/utilities/memory_dmalloc.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,817 | 25.150685 | 81 | c |
AMG | AMG-master/utilities/mpistubs.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 36,794 | 27.325635 | 93 | c |
AMG | AMG-master/utilities/mpistubs.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 16,426 | 53.214521 | 226 | h |
AMG | AMG-master/utilities/qsplit.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,904 | 30.236559 | 81 | c |
AMG | AMG-master/utilities/random.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 3,732 | 30.905983 | 81 | c |
AMG | AMG-master/utilities/threading.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,996 | 26.356164 | 81 | c |
AMG | AMG-master/utilities/threading.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,338 | 33.333333 | 85 | h |
AMG | AMG-master/utilities/timer.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 2,114 | 27.581081 | 81 | c |
AMG | AMG-master/utilities/timing.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 11,219 | 29.572207 | 81 | c |
AMG | AMG-master/utilities/timing.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 4,315 | 32.71875 | 81 | h |
AMG | AMG-master/utilities/umalloc_local.c | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,416 | 29.804348 | 81 | c |
AMG | AMG-master/utilities/umalloc_local.h | /*BHEADER**********************************************************************
* Copyright (c) 2017, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* Written by Ulrike Yang (yang11@llnl.gov) et al. CODE-LLNL-738-322.
* This file is part of AMG. See files READ... | 1,449 | 29.851064 | 81 | h |
null | r-mae-main/CODE_OF_CONDUCT.md | # Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender i... | 3,540 | 43.2625 | 87 | md |
null | r-mae-main/CONTRIBUTING.md | # Contributing to r-mae
We want to make contributing to this project as easy and transparent as
possible.
## Pull Requests
We actively welcome your pull requests.
1. Fork the repo and create your branch from `main`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the docume... | 1,244 | 39.16129 | 80 | md |
null | r-mae-main/README.md | # R-MAE: Regions Meet Masked Autoencoders

This repository is an official implementation of [R-MAE: Regions Meet Masked Autoencoders](https://arxiv.org/abs/2306.05411) in PyTorch. It is based on the [BoxeR](https://github.com/kienduynguyen/BoxeR) repository, but adapted for self-supervised pr... | 4,360 | 30.832117 | 261 | md |
null | r-mae-main/setup.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import os
import torch
from setuptools import find_packages, setup
TORCH_VERSION = tuple(int(x) for x in torch.__versio... | 1,193 | 24.956522 | 81 | py |
null | r-mae-main/pretrain/__init__.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import pretrain.utils
import pretrain.model
import pretrain.optim
import pretrain.trainer
import pretrain.dataset
from .u... | 396 | 21.055556 | 61 | py |
null | r-mae-main/pretrain/config/default.yaml | # Configuration for training
training:
# Name of the trainer class used to define the training/evalution loop
trainer: "base_trainer"
max_norm: 0
# Seed to be used for training. -1 means random seed.
# Either pass fixed through your config or command line arguments
# Pass null to the seed if you don't want ... | 4,311 | 33.496 | 91 | yaml |
null | r-mae-main/pretrain/config/MAE/base_mae.yaml | model_config:
mae:
mask_ratio: 0.75
mae_vit:
arch: mae_base_patch16
params:
norm_pix_loss: true
decoder_embed_dim: 512
decoder_depth: 8
decoder_num_heads: 16
optimizer:
type: adamw
params:
lr: 2.4e-3 # 1.5e-4 * batch_size / 256
use_oss: false
weight... | 820 | 17.244444 | 42 | yaml |
null | r-mae-main/pretrain/config/MAE/COCO/mae_4000eps.yaml | includes:
- config/MAE/base_mae.yaml
dataset_config:
coco_pretrain:
cache_mode: false
sampler: infinite
filter_small_patches: false
imdb_files:
train:
image_folder:
- image/train2017
mask_folder:
- image/fh_train2017
anno_file:
- annotatio... | 2,002 | 23.426829 | 48 | yaml |
null | r-mae-main/pretrain/config/MAE/ImageNet/mae_800eps.yaml | includes:
- config/MAE/base_mae.yaml
dataset_config:
imnet_pretrain:
cache_mode: false
sampler: infinite
filter_small_patches: false
imdb_files:
train:
image_folder: train
mask_folder: fh_train
val:
image_folder: val
mask_folder: fh_val
processors:
... | 1,899 | 22.45679 | 45 | yaml |
null | r-mae-main/pretrain/config/RMAE/base_rmae.yaml | model_config:
rmae:
mask_ratio: 0.75
mae_vit:
arch: rmae_base_patch16
params:
norm_pix_loss: true
use_mae_loss: true
num_region: 0
mae_loss_weight: 1.0
bg_loss_weight: 1.0
region_loss_weight: 1.0
region_mask_ratio: 0.75
region_enc_dim... | 1,147 | 19.5 | 42 | yaml |
null | r-mae-main/pretrain/config/RMAE/COCO/rmae_fh_4000eps.yaml | includes:
- config/RMAE/base_rmae.yaml
dataset_config:
coco_pretrain:
sampler: infinite
mask_type: fh
filter_small_patches: false
imdb_files:
train:
image_folder:
- image/train2017
mask_folder:
- image/fh_train2017
anno_file:
- annotations... | 2,000 | 23.402439 | 48 | yaml |
null | r-mae-main/pretrain/config/RMAE/COCO/rmae_fh_ccplus_4000eps.yaml | includes:
- config/RMAE/base_rmae.yaml
dataset_config:
coco_pretrain:
sampler: infinite
mask_type: fh
filter_small_patches: false
imdb_files:
train:
image_folder:
- image/train2017
- image/unlabeled2017
mask_folder:
- image/fh_train2017
... | 2,121 | 23.964706 | 53 | yaml |
null | r-mae-main/pretrain/config/RMAE/ImageNet/rmae_fh_800eps.yaml | includes:
- config/RMAE/base_rmae.yaml
dataset_config:
imnet_pretrain:
sampler: infinite
mask_type: fh
cache_mask: true
filter_small_patches: false
imdb_files:
train:
image_folder: train
mask_folder: fh_train
val:
image_folder: val
mask_folder: fh_val... | 1,918 | 22.402439 | 45 | yaml |
null | r-mae-main/pretrain/dataset/__init__.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import importlib
import os
import warnings
from torch.utils.data import DataLoader, DistributedSampler
from pretrain.dat... | 4,194 | 28.751773 | 88 | py |
null | r-mae-main/pretrain/dataset/base.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import os
import copy
import warnings
import omegaconf
import torch
from torch.utils.data.dataset import Dataset
from pr... | 4,282 | 31.44697 | 90 | py |
null | r-mae-main/pretrain/dataset/pretrain.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
from functools import partial
import torch
from torch.utils.data import ConcatDataset
from pretrain.dataset import BaseD... | 7,337 | 34.449275 | 85 | py |
null | r-mae-main/pretrain/dataset/helper/__init__.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
from pretrain.dataset.helper.image_dataset import ImageDataset
from pretrain.dataset.helper.sampler import build_sampler
f... | 680 | 26.24 | 73 | py |
null | r-mae-main/pretrain/dataset/helper/coco.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import os
import math
import json
import random
from io import BytesIO
import torch
import numpy as np
from torchvision.d... | 7,198 | 27.681275 | 90 | py |
null | r-mae-main/pretrain/dataset/helper/collate_fn.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import collections
import re
import torch
string_classes = str
np_str_obj_array_pattern = re.compile(r"[SaUO]")
defaul... | 4,819 | 35.240602 | 87 | py |
null | r-mae-main/pretrain/dataset/helper/constants.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
IMAGENET_DEFAULT_MEAN = (0.485, 0.456, 0.406)
IMAGENET_DEFAULT_STD = (0.229, 0.224, 0.225)
| 289 | 31.222222 | 61 | py |
null | r-mae-main/pretrain/dataset/helper/image_dataset.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import os
from io import BytesIO
import torch
import numpy as np
import torchvision
import cv2
from PIL import Image
cl... | 3,059 | 27.867925 | 86 | py |
null | r-mae-main/pretrain/dataset/helper/prefetcher.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import torch
class Prefetcher:
def __init__(self, loader, dataset, prefetch=True):
self.loader = iter(loader... | 1,890 | 29.5 | 68 | py |
null | r-mae-main/pretrain/dataset/helper/sampler.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import math
import itertools
from collections import defaultdict
from typing import TypeVar, Optional, Iterator
import to... | 15,162 | 35.803398 | 105 | py |
null | r-mae-main/pretrain/dataset/processor/__init__.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
from pretrain.dataset.processor.processors import build_processor
__all__ = ["build_processor"]
| 295 | 28.6 | 65 | py |
null | r-mae-main/pretrain/dataset/processor/functional.py | # Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import collections
import math
import random
import torch
import torchvision.transforms.functional as F
import numpy as n... | 12,623 | 29.941176 | 92 | py |