-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spdx copyright headers and authorship information to source files.
- Loading branch information
Showing
14 changed files
with
87 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 The University of Edinburgh and Imperial College | ||
# London | ||
# Developed originally by James R. Maddison ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""This module contains basic checkpointing schedules. | ||
""" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 The University of Edinburgh and Imperial College | ||
# London | ||
# Developed by Daiane I. Dolci ([email protected]), | ||
# James R. Maddison ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""This module contains the checkpointing schedules for the H-Revolve, | ||
Disk Revolve, Periodic Disk Revolve and Revolve algorithms. | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/usr/bin/python | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 Inria and Imperial College London | ||
# Developed originally by Guillaume Pallez ([email protected]), | ||
# Julien Herrmann ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""This module contains the basic functions used in the H-ReVolve algorithm.""" | ||
import math | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/usr/bin/python | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 Inria and Imperial College London | ||
# Developed originally by Guillaume Pallez ([email protected]), | ||
# Julien Herrmann ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""This module contains the functions to compute the Disk-Revolve schedules. | ||
""" | ||
from functools import partial | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 Inria and Imperial College London | ||
# Developed originally by Guillaume Pallez ([email protected]), | ||
# Julien Herrmann ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""This module contains the implementation of the H-Revolve schedule. | ||
""" | ||
from functools import partial | ||
|
6 changes: 6 additions & 0 deletions
6
checkpoint_schedules/hrevolve_sequences/periodic_disk_revolve.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 Inria and Imperial College London | ||
# Developed originally by Guillaume Pallez ([email protected]), | ||
# Julien Herrmann ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""This module contains the periodic disk revolve checkpoint schedule.""" | ||
from functools import partial | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/usr/bin/python | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 Inria and Imperial College London | ||
# Developed originally by Guillaume Pallez ([email protected]), | ||
# Julien Herrmann ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""This module contains the functions used to compute the revolver sequences. | ||
""" | ||
from functools import partial | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/usr/bin/python | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 Inria and Imperial College London | ||
# Developed originally by Guillaume Pallez ([email protected]), | ||
# Julien Herrmann ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""This module contains the functions used to compute the 1D revolver | ||
sequences. | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
#!/usr/bin/python | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 Inria and Imperial College London | ||
# Developed originally by Guillaume Pallez ([email protected]), | ||
# Julien Herrmann ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
def revolver_parameters(wd, rd, uf, ub): | ||
"""Parameter use to obtain the revolver sequences. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 The University of Edinburgh and Imperial College | ||
# London | ||
# Developed originally by James R. Maddison ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
import warnings | ||
import functools | ||
import numpy as np | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 The University of Edinburgh and Imperial College | ||
# London | ||
# Developed originally by James R. Maddison ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]).import functools | ||
import functools | ||
from operator import itemgetter | ||
from .schedule import CheckpointSchedule, Forward, Reverse, Copy, Move, \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 The University of Edinburgh and Imperial College | ||
# London | ||
# Developed by Daiane I. Dolci ([email protected]), | ||
# James R. Maddison ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
|
||
"""Classes used to define checkpointing schedules and actions in checkpointing | ||
schedules. | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-only | ||
# Copyright (C) 2020 - 2024 The University of Edinburgh and Imperial College | ||
# London | ||
# Developed originally by James R. Maddison ([email protected]). | ||
# Modified by Daiane I. Dolci ([email protected]) | ||
# and David A. Ham ([email protected]). | ||
from .schedule import CheckpointSchedule, Forward, Reverse, Copy, Move, \ | ||
EndForward, EndReverse, StorageType | ||
from .multistage import n_advance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" | |
name = "checkpoint_schedules" | ||
version = "1.0.0" | ||
authors = [ | ||
{ name="Daiane I. Dolci ", email="ddolci@eimperial.ic.ac.uk" }, | ||
{ name="Daiane I. Dolci ", email="d.dolci@eimperial.ic.ac.uk" }, | ||
{ name="James R. Maddison", email="[email protected]" }, | ||
{ name="David A. Ham", email="[email protected]" }, | ||
{ name="Guillaume Pallez", email="[email protected]" }, | ||
|