Skip to content

Commit

Permalink
Compare ufunc with CPU only for now
Browse files Browse the repository at this point in the history
Signed-off-by: Julio Faracco <[email protected]>
  • Loading branch information
jcfaracco committed Feb 12, 2024
1 parent c42c4b1 commit efc902a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/datasets/test_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def test_add(self):
dataset1 = DatasetArray(name="Array", root=raw_path, download=False)
dataset2 = DatasetArray(name="Array", root=raw_path, download=False)

dataset1.load()
dataset2.load()
dataset1._load_cpu()
dataset2._load_cpu()

np1 = np.load(raw_path)
np2 = np.load(raw_path)
Expand All @@ -87,8 +87,8 @@ def test_sub(self):
dataset1 = DatasetArray(name="Array", root=raw_path, download=False)
dataset2 = DatasetArray(name="Array", root=raw_path, download=False)

dataset1.load()
dataset2.load()
dataset1._load_cpu()
dataset2._load_cpu()

np1 = np.load(raw_path)
np2 = np.load(raw_path)
Expand All @@ -107,8 +107,8 @@ def test_mul(self):
dataset1 = DatasetArray(name="Array", root=raw_path, download=False)
dataset2 = DatasetArray(name="Array", root=raw_path, download=False)

dataset1.load()
dataset2.load()
dataset1._load_cpu()
dataset2._load_cpu()

np1 = np.load(raw_path)
np2 = np.load(raw_path)
Expand Down

0 comments on commit efc902a

Please sign in to comment.