Skip to content

Commit

Permalink
Changes requested 1000 7 Mar 2024, PR 14 from Florian
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalatino committed Mar 7, 2024
1 parent 9f0477a commit a40a026
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ndsl/checkpointer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .null import NullCheckpointer
from .snapshots import SnapshotCheckpointer, _Snapshots
from .snapshots import SnapshotCheckpointer
from .thresholds import (
InsufficientTrialsError,
SavepointThresholds,
Expand Down
1 change: 0 additions & 1 deletion ndsl/comm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
CachingCommWriter,
CachingRequestReader,
CachingRequestWriter,
NullRequest,
)
from .comm_abc import Comm, Request
2 changes: 1 addition & 1 deletion ndsl/comm/communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(
self.timer: Timer = timer if timer is not None else NullTimer()

@abc.abstractproperty
def tile(self):
def tile(self) -> "TileCommunicator":
pass

@classmethod
Expand Down
2 changes: 0 additions & 2 deletions ndsl/dsl/stencil.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
from ndsl.dsl.typing import Float, Index3D, cast_to_index3d
from ndsl.initialization.sizer import GridSizer, SubtileGridSizer
from ndsl.quantity import Quantity

# from ndsl import testing
from ndsl.testing import comparison


Expand Down
Empty file removed tests/checkpointer/__init__.py
Empty file.
Empty file removed tests/dsl/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions tests/dsl/test_stencil_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,14 @@ def test_backend_options(
"backend": "numpy",
"rebuild": True,
"format_source": False,
"name": "tests.dsl.test_stencil_wrapper.copy_stencil",
"name": "test_stencil_wrapper.copy_stencil",
},
"cuda": {
"backend": "cuda",
"rebuild": True,
"device_sync": False,
"format_source": False,
"name": "tests.dsl.test_stencil_wrapper.copy_stencil",
"name": "test_stencil_wrapper.copy_stencil",
},
}

Expand Down
Empty file removed tests/quantity/__init__.py
Empty file.

0 comments on commit a40a026

Please sign in to comment.