Skip to content

Commit 5c2fe0b

Browse files
committed
Add copyright and licensing information to all files
1 parent 28bfa71 commit 5c2fe0b

File tree

184 files changed

+923
-159
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+923
-159
lines changed

2d/cpp/core.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
// Main solver routines for heat equation solver
26

37
#include <mpi.h>

2d/cpp/heat.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
#include "heat.hpp"
26
#include "matrix.hpp"
37
#include <iostream>

2d/cpp/io.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* I/O related functions for heat equation solver */
26

37
#include <string>

2d/cpp/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Heat equation solver in 2D. */
26

37
#include <string>

2d/cpp/parallel.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
#include "heat.hpp"
26
#include <mpi.h>
37

2d/cpp/setup.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
#include <string>
26
#include <cstdlib>
37
#include <iostream>

2d/cpp/utilities.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
// Utility functions for heat equation solver
26
// NOTE: This file does not need to be edited!
37

2d/cuda/core.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Main solver routines for heat equation solver */
26

37
#include <stdio.h>

2d/cuda/fortran/core.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Main solver routines for heat equation solver
26
module core
37
use heat

2d/cuda/fortran/io.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! I/O routines for heat equation solver
26
module io
37
use heat

2d/cuda/fortran/main.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Heat equation solver in 2D.
26

37
program heat_solve

2d/cuda/fortran/pngwriter_mod.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! PNG writer for heat equation solver
26
module pngwriter
37
use heat

2d/cuda/fortran/setup.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Setup routines for heat equation solver
26
module setup
37
use heat

2d/cuda/fortran/utilities.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Utility routines for heat equation solver
26
! NOTE: This file does not need to be edited!
37
module utilities

2d/cuda/heat.h

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#ifndef __HEAT_H__
28
#define __HEAT_H__
39

2d/cuda/io.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* I/O related functions for heat equation solver */
26

37
#include <stdio.h>

2d/cuda/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Heat equation solver in 2D. */
26

37
#include <stdio.h>

2d/cuda/setup.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Setup routines for heat equation solver */
26

37
#include <stdio.h>

2d/cuda/utilities.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Utility functions for heat equation solver
26
* NOTE: This file does not need to be edited! */
37

2d/hip/core.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Main solver routines for heat equation solver */
26

37
#include <stdio.h>

2d/hip/core_hip.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
#include "hip/hip_runtime.h"
26
/* Main solver routines for heat equation solver */
37

2d/hip/heat.h

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#ifndef __HEAT_H__
28
#define __HEAT_H__
39

2d/hip/io.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* I/O related functions for heat equation solver */
26

37
#include <stdio.h>

2d/hip/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Heat equation solver in 2D. */
26

37
#include <stdio.h>

2d/hip/setup.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Setup routines for heat equation solver */
26

37
#include <stdio.h>

2d/hip/utilities.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Utility functions for heat equation solver
26
* NOTE: This file does not need to be edited! */
37

2d/kokkos/core.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
// Main solver routines for heat equation solver
26

37
#include <mpi.h>

2d/kokkos/heat.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
#include "heat.hpp"
26
#include "matrix.hpp"
37
#include <iostream>

2d/kokkos/io.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* I/O related functions for heat equation solver */
26

37
#include <string>

2d/kokkos/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Heat equation solver in 2D. */
26

37
#include <string>

2d/kokkos/mat_test.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
#include <iostream>
26
#include <iomanip>
37
#include "matrix.hpp"

2d/kokkos/parallel.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
#include "heat.hpp"
26
#include <mpi.h>
37
#include <Kokkos_Core.hpp>

2d/kokkos/setup.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
#include <string>
26
#include <cstdlib>
37
#include <iostream>

2d/kokkos/utilities.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
// Utility functions for heat equation solver
26
// NOTE: This file does not need to be edited!
37

2d/mpi-openmp/core.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Main solver routines for heat equation solver */
26

37
#include <stdio.h>

2d/mpi-openmp/fortran/core.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Main solver routines for heat equation solver
26
module core
37
use heat

2d/mpi-openmp/fortran/heat_mod.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Field metadata for heat equation solver
26
module heat
37
use iso_fortran_env, only : REAL64

2d/mpi-openmp/fortran/io.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! I/O routines for heat equation solver
26
module io
37
use heat

2d/mpi-openmp/fortran/main.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Heat equation solver in 2D.
26

37
program heat_solve

2d/mpi-openmp/fortran/pngwriter_mod.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! PNG writer for heat equation solver
26
module pngwriter
37
use heat

2d/mpi-openmp/fortran/setup.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Setup routines for heat equation solver
26
module setup
37
use heat

2d/mpi-openmp/fortran/utilities.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Utility routines for heat equation solver
26
! NOTE: This file does not need to be edited!
37
module utilities

2d/mpi-openmp/heat.h

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
17
#ifndef __HEAT_H__
28
#define __HEAT_H__
39

2d/mpi-openmp/io.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* I/O related functions for heat equation solver */
26

37
#include <stdio.h>

2d/mpi-openmp/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Heat equation solver in 2D. */
26

37
#include <stdio.h>

2d/mpi-openmp/setup.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Setup routines for heat equation solver */
26

37
#include <stdio.h>

2d/mpi-openmp/utilities.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Utility functions for heat equation solver
26
* NOTE: This file does not need to be edited! */
37

2d/mpi/core.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
//
3+
// SPDX-License-Identifier: MIT
4+
15
/* Main solver routines for heat equation solver */
26

37
#include <stdio.h>

2d/mpi/fortran/core.F90

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
! SPDX-FileCopyrightText: 2021 CSC - IT Center for Science Ltd. <www.csc.fi>
2+
!
3+
! SPDX-License-Identifier: MIT
4+
15
! Main solver routines for heat equation solver
26
module core
37
use heat

0 commit comments

Comments
 (0)